How to pass control value via markdown url


(CyberBobak) #1

Hi,

I need to pass value to control located in next dashboard, this value will be set as default and read only (other values will be disabled, no change allowed).It's possible ? How ?

Thank You


(Thomas Neirynck) #2

I don't think that's possible right now.

you could have a default filter supplied by hacking the url:

e.g.:

http://localhost:5601/app/kibana#/dashboard?_g=()&_a=(description:'',filters:!(),fullScreenMode:!f,options:(darkTheme:!f,hidePanelTitles:!f,useMargins:!t),panels:!((embeddableConfig:(),gridData:(h:15,i:'1',w:24,x:0,y:0),id:'44e62a70-ec4a-11e8-91ed-575b481162ef',panelIndex:'1',type:visualization,version:'6.4.0')),query:(language:lucene,query:'geo.dest:%20IN'),timeRestore:!f,title:'New%20Dashboard',viewMode:edit)

look at the query: object. you could modify that. You could do the same for filters.

That might give you similar functionality that you are looking for.