If you want to integrate a link in your system to open Kibana in the Discovery view with a predefined search you can use the following format:
https://app.logz.io/#/dashboard/kibana?kibanaRoute=discover%3F_a%3D(query:(query_string:(analyze_wildcard:!t,query:'%22Find%20Something%22')))
or the following format which allows you to define the time range (in this example 24h) for the specific query:
https://app.logz.io/#/dashboard/kibana?kibanaRoute=discover%3F_a%3D(query:(query_string:(analyze_wildcard:!t,query:'%22Find%20Something%22')))%26_g%3D(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-24h,mode:quick,to:now))
Note that the query stream need to be properly escaped and if you are using spaces in the query it must be surrounded by single quotes.
Comments
0 comments
Please sign in to leave a comment.