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

**URL:** https://discuss.elastic.co/t/url-drilldown-is-it-possible-to-pass-field-names-to-the-query/302839
**Category:** Kibana
**Created:** [April 20, 2022, 4:31pm UTC](https://discuss.elastic.co/t/url-drilldown-is-it-possible-to-pass-field-names-to-the-query/302839 "2022-04-20T16:31:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![azulgrana](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@azulgrana](https://discuss.elastic.co/u/azulgrana)
#### Post date: [April 20, 2022, 4:31pm UTC](https://discuss.elastic.co/t/url-drilldown-is-it-possible-to-pass-field-names-to-the-query/302839/1 "2022-04-20T16:31:23Z")

</div>

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

---

<div class="post-metadata">

### Author: ![azulgrana](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@azulgrana](https://discuss.elastic.co/u/azulgrana)
#### Post date: [April 20, 2022, 10:47pm UTC](https://discuss.elastic.co/t/url-drilldown-is-it-possible-to-pass-field-names-to-the-query/302839/2 "2022-04-20T22:47:24Z")

</div>

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

```auto
(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

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [May 18, 2022, 10:48pm UTC](https://discuss.elastic.co/t/url-drilldown-is-it-possible-to-pass-field-names-to-the-query/302839/3 "2022-05-18T22:48:20Z")

</div>

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