URL Drilldown, is it possible to pass field names to the query?

Hi there!

I have a use case for a URL drilldown where I would like to pass field names to the drilldown (a search) and have the search only populate specific field names. Here's how my URL drilldown looks like

{{kibanaUrl}}/app/dashboards#/view/9a204030-c02b-11ec-b89b-bb5bd4f5b476?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:{{context.panel.timeRange.from}},to:{{context.panel.timeRange.to}}))&_a=(description:'',filters:{{rison context.panel.filters }},fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:''),tags:!(),timeRestore:!f,title:'MyTitleHere',viewMode:view)

I have tried adding ,panels:!((embeddableConfig:(columns:!(ip) ... based on a URL I saw when I did a Permalink > Copy Link but that didn't work for me. Any ideas or guidance?

Thanks

Azulgrana

Solved! moving this section to the front and under the "_a=" made the trick for me

(options:(hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(columns:!(ip_address,mac_address,etc),enhancements:()),gridData:(h:32,i:'22230f9e-6109-40d0-bc6e-52cad08eb663',w:48,x:0,y:0),id:f795c5b0-c02a-11ec-b89b-bb5bd4f5b476,panelIndex:'22230f9e-6109-40d0-bc6e-52cad08eb663',type:search,version:'7.16.3'))

{{kibanaUrl}}/app/dashboards#/view/10f04030-c02b-11ec-b89b-bb5bd4f5b476?embed=true&embed=true&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:{{context.panel.timeRange.from}},to:{{context.panel.timeRange.to}}))&_a=(options:(hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(columns:!(ip_address,mac_address,etc),enhancements:()),gridData:(h:32,i:'22230f9e-6109-40d0-bc6e-52cad08eb663',w:48,x:0,y:0),id:f795c5b0-c02a-11ec-b89b-bb5bd4f5b476,panelIndex:'22230f9e-6109-40d0-bc6e-52cad08eb663',type:search,version:'7.16.3')),description:'',filters:{{rison context.panel.filters }},fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),query:(language:kuery,query:''),tags:!(),timeRestore:!f,title:'Assets by Vendor',viewMode:view)&show-query-input=true&show-time-filter=true

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.