Is there a way to define a dynamic query in the Kibana control panel?

A somewhat similar question was asked here , but there is no answer yet. This question refers to an older version of Kibana, so I hope you can help me.

I am trying to configure some predefined requests in the Kibana control panel. I am using Kibana 5.1. The purpose of these queries is to filter some logs based on several different parameters.

See the query I would like to execute:

{
  "index": "${index_name}",
  "query": {
    "query_string": {
      "query": "message:(+\"${LOG_LEVEL}\")",
      "analyze_wildcard": true
    }
  }
}

I know that I can request something directly on the control panel "message:(+"ERROR")"and manually change it ERRORto WARN, for example, but I don’t want this - imagine that this request can be more complex and contain several fields.

, , message, , . , LOG_LEVEL, .

- index_name LOG_LEVEL Kibana Discover?

+4
1

, Mirror glass . , . , , ( ), , JSON filter , .

, , , ( ).

+2

Source: https://habr.com/ru/post/1673105/


All Articles