Kibana filters

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*”
}}}}

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>