Hi folks,
I'm quite new to Kibana and can't find a solution to my problem.
I got a visualisation (based on the "enhanced table" plugin) and I'm able to pass parameters through its URL (rf {{col0}} and {{col1}} in the code below), and it works well.
kibana#/visualize/edit/07a1eb00-e86e-11ea-a67c-41867833fb93?_g=(refreshInterval:(pause:!t,value:0),time:(display:'Last%201%20year',from:now-1y,to:now))&_a=(filters:!(),linked:!f,query:(language:kuery,query:''),uiState:(vis:(params:(sort:(columnIndex:4,direction:desc)))),vis:(aggs:!((enabled:!t,id:'1',params:(customLabel:Sales_data,field:to.sales_current),schema:metric,type:sum),(enabled:!t,id:'4',params:(customLabel:Cat,field:cat2,missingBucket:!f,missingBucketLabel:Missing,order:desc,orderBy:'1',otherBucket:!f,otherBucketLabel:Other,size:100),schema:bucket,type:terms),(enabled:!t,id:'3',params:(filters:!((input:(language:kuery,query:'cust_ID%20:%20%22**{{col0}}**%22%20'),label:'Customer%20sales'),(input:(language:kuery,query:'cust_seg2%20:%20%22{{col1}}%22%20'),label:'CTG%20sales'))),schema:splitcols,type:filters)),params:(computedColsPerSplitCol:!f,computedColumns:!(('$$hashKey':'object:1537',alignment:center,applyAlignmentOnTitle:!t,applyAlignmentOnTotal:!t,applyTemplate:!f,applyTemplateOnTotal:!t,datePattern:'MMMM%20Do%20YYYY,%20HH:mm:ss.SSS',enabled:!t,format:number,formula:'col%5B!'Customer%20sales!'%5D%2Ftotal%5B!'Customer%20sales!'%5D',label:'%25Cust%20sales',pattern:'0.0%25',template:%7B%7Bvalue%7D%7D),('$$hashKey':'object:2294',alignment:center,applyAlignmentOnTitle:!t,applyAlignmentOnTotal:!t,applyTemplate:!f,applyTemplateOnTotal:!t,datePattern:'MMMM%20Do%20YYYY,%20HH:mm:ss.SSS',enabled:!t,format:number,formula:'col%5B!'CTG%20sales!'%5D%2Ftotal%5B!'CTG%20sales!'%5D',label:'%25CTG%20sales',pattern:'0.0%25',template:%7B%7Bvalue%7D%7D),('$$hashKey':'object:2901',alignment:center,applyAlignmentOnTitle:!t,applyAlignmentOnTotal:!t,applyTemplate:!f,applyTemplateOnTotal:!t,datePattern:'MMMM%20Do%20YYYY,%20HH:mm:ss.SSS',enabled:!t,format:number,formula:'total%5B!'Customer%20sales!'%5D*(col%5B!'%25CTG%20sales!'%5D-col%5B!'%25Cust%20sales!'%5D)',label:Potential,pattern:'0,0a',template:%7B%7Bvalue%7D%7D)),filterAsYouType:!f,filterBarHideable:!f,filterBarWidth:'25%25',filterCaseSensitive:!f,filterHighlightResults:!f,filterTermsSeparately:!f,hiddenColumns:'2',hideExportLinks:!f,perPage:10,showFilterBar:!f,showMetricsAtAllLevels:!f,showPartialRows:!f,showTotal:!f,sort:(columnIndex:4,direction:desc),stripedRows:!f,totalFunc:sum),title:'DEV%20-%20POTENTIAL%20-%20ETABLE%20(non%20dynamique)',type:ns-enhanced-table))
The problem is just that I land on the visualisation itself (which is logical), while I'd like to have the visualisation integrated into a dashboard. So I embed this visualisation in a dashboard, which URL is:
(07a1eb00-e86e-11ea-a67c-41867833fb93 is the ID of the data visualisation)
kibana#/dashboard/c5994510-e916-11ea-a67c-41867833fb93?_g=(refreshInterval:(pause:!t,value:0),time:(display:'Last%201%20year',from:now-1y,to:now))&_a=(description:'',filters:!(),fullScreenMode:!f,options:(hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:15,i:'33cab130-588d-4f0b-823a-a1d95f61de72',w:24,x:0,y:0),id:'07a1eb00-e86e-11ea-a67c-41867833fb93',panelIndex:'33cab130-588d-4f0b-823a-a1d95f61de72',type:visualization,version:'7.6.2')),query:(language:kuery,query:''),timeRestore:!f,title:'DEV%20-%20POTENTIAL%20-%20TEST',viewMode:view)
What I would like to do is pass the data visualisation parameters {{col0}} and {{col1}} in the dashboard URL.
I tried many things, but always got "unable to parse URL"...
Any idea how to do this? (or if it is even possible?)
Thanks fo your help!