Hello! I recently posted a question regarding this issue, but unfortunately the topic was closed before I got around to responding to the first reply. I am working for a company that utilizes Kibana dashboards to view client data and I have been tasked with passing in filters through the dashboards URL (the embedded dashboards are rendered inside an iFrame) but the filters I pass only appear briefly and then disappear (note: filters are being passed through the URL to the dashboards globalState).
The Kibana version we use is primarily 7.17.
I was given a link to the following: The filters added to the dashboard have been removed from the url · Issue #123401 · elastic/kibana · GitHub)
I however am still confused as to how to utilize this to solve my problem and have a few questions.
My question is this: This code has a link to a PR which suggests appending the following code, " {yourKibanaURL}/app/dashboards#/create?_a=(query:(language:kuery,query:'testing hello'))
", to solve the problem. Would this result in a new dashboard being created, if so would this be an efficient solution to my problem (pinned filters not being applied when passed through the Kibana URL given to an iFrame). Our platform has hundreds of dashboards across multiple spaces and they are accessed daily by a variety of employees to monitor client systems. Would this solution be inefficient considering the scale of our enterprise?
I have experimented with multiple solutions, and have successfully passed in filters that remain on the dashboard (this however required using a timeout which after 10 seconds would modify the dashboard URL to then include the desired pinned filters), but this obviously is not a solution I want to use.
If there are any other solutions that would help solve our problem, please suggest them!
Thank you!