...
Query to show elastic - 100 log documents
Code Block |
---|
{ "query": { "match_all": {} }, "size": 100 } |
...
Query to fetch Elastic Logs for last 30 days
Code Block |
---|
{ "query": { "bool": { "must": { "range": { "date": { "gte": "now-30d" } } } } } } |
...
Create query with input {0} to insert issue key
Code Block |
---|
{ "query": { "multi_match": { "query": "{0}", "fields": [ "issueKey", "message" ], "operator": "or" } } } |
Query for search theme
Code Block |
---|
{ "query": { "multi_match": { "query": "{0}", "fields": [ "issueKey", "message" ], "operator": "or" } } } |
...