You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a kibana dashboard and used the iFrame link on my website. On my website I also added checkboxes that when clicked will update the iFrame link to use the filters that the checkbox pertains to. That works.
I also added a search bar to my website. When the search is used I update the iFrame link with the search text that does not work, meaning the iFrame isn't refreshed.
I did a hack to get the search working. I updated the iFrame to use the search text and also a filter and then removed that filter. This caused the iFrame to update. Although its a hack because anytime someone searches the iFrame is refreshed twice. It happens so fast that you can't see that it got refreshed twice but its a hack and I'd like to remove it so it only refreshes once.
"http://myurl.com//#/dashboard/MY-Dashboard?embed&_g=()&_a=(filters:!(" + ((currentFilters) ? currentFilters : "") +
"),panels:!((col:5,id: ...... lots of html here from the iFrame link that describes my dashboard" +
"query:(query_string:(analyze_wildcard:!t,query:'" +
((searchText) ? searchText : "*") + "')),title:'MY%20Dashboard')";
currentFilters are the filters that got built from clicking on the checkboxes.
searchText is the search text from the search bar.
Any help would be appreciated.
FYI, this feature request #3046 is what I've implemented
The text was updated successfully, but these errors were encountered:
Hello,
I made a kibana dashboard and used the iFrame link on my website. On my website I also added checkboxes that when clicked will update the iFrame link to use the filters that the checkbox pertains to. That works.
I also added a search bar to my website. When the search is used I update the iFrame link with the search text that does not work, meaning the iFrame isn't refreshed.
I did a hack to get the search working. I updated the iFrame to use the search text and also a filter and then removed that filter. This caused the iFrame to update. Although its a hack because anytime someone searches the iFrame is refreshed twice. It happens so fast that you can't see that it got refreshed twice but its a hack and I'd like to remove it so it only refreshes once.
"http://myurl.com//#/dashboard/MY-Dashboard?embed&_g=()&_a=(filters:!(" + ((currentFilters) ? currentFilters : "") +
"),panels:!((col:5,id: ...... lots of html here from the iFrame link that describes my dashboard" +
"query:(query_string:(analyze_wildcard:!t,query:'" +
((searchText) ? searchText : "*") + "')),title:'MY%20Dashboard')";
currentFilters are the filters that got built from clicking on the checkboxes.
searchText is the search text from the search bar.
Any help would be appreciated.
FYI, this feature request #3046 is what I've implemented
The text was updated successfully, but these errors were encountered: