Pass filter to dashboard URL in Markdown Menu?

Hi,

I have a Markdown Menu with which I use to navigate between dashboards.

Example of menu URL:

MySystemDashash

Anyone know of how I can pass a filter to that dashboard as part of the Markdown
?
I know the filter gets passed in URL (Im using Kibana 5.0.0-alpha2) as &_a - I've extracted an example below - but I'm not sure if/how I can append this to my Markdown URL

&_a=(filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'logstashprocess*',key:proc.cmdline.keyword,negate:!f,value:'postgres:%20tpcc%20tpcc%2016.250.50.33(13830)%20idle'),query:(match:(proc.cmdline.keyword:(query:'postgres:%20tpcc%20tpcc%2016.250.50.33(13830)%20idle',type:phrase))))),linked:!t,query:(query_string:(query:'*'))

Thanks
Mick

If you apply the filter to the dashboard, click "Share", copy the URL and place it in the Markdown. Does that accomplish what you're looking to do?

[SomeFilter](https://localhost:5601/ryx/app/kibana#/dashboard/Test?_g=...)

Perfect - many thanks :slight_smile:

I've found that sometimes the brackets in the URLs get parsed incorrectly - resulting in malformed links.

Its best to replace ( with %28, and ) with %29 in the URL before using it in the Markdown link

Cheers

Mick

2 Likes