Get logs by log type, e.g. ERROR
{ “query”: { “match”: { “logs.level”: { “query”: “ERROR”, “type”: “phrase” }}}} |
Get logs containing a specific word
{ “query”: { “match”: { “log”: “REPLACE ME” }}} |
Logs from a service whose name starts by
{ “query”: { “wildcard”: { “REPLACE SERVICE FIELD NAME”: { “value”: “prefix*” }}}} |