Table of Contents |
---|
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" } } } |
...