简体   繁体   中英

How to convert elastic search queries from Kibana 3 to Kibana 4

I have created a dashboard in Kibana 3. I would like to replicate the same in Kibana 4.
How can I replicate this elastic search query written in Kibana 3 to Kibana4?

Please find the below code:

( cf.cf_org_name:ABC OR cf.cf_org_name:DEF ) AND NOT (cf.msg:"Stopped span:" OR cf.msg:"Continued span:" OR cf.msg:"Starting span:" OR cf.msg:"*swagger*" OR cf.msg:"*\[my.Agent\]" OR cf.msg:"*\[my.Properties\]")

Any lead would be highly appreciated.

I read somewhere Kibana sets allow_leading_wildcard to false, so you may have to set allow_leading_wildcard to true in the settings/advanced tab of Kibana in the field query:queryString:options.

This is because you are using for example cf.msg:"*swagger*" in your query.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM