Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iFrame Link Doesn't Refresh When updating Search #4783

Closed
cpitzak opened this issue Aug 27, 2015 · 1 comment
Closed

iFrame Link Doesn't Refresh When updating Search #4783

cpitzak opened this issue Aug 27, 2015 · 1 comment

Comments

@cpitzak
Copy link

cpitzak commented Aug 27, 2015

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

@rashidkpc
Copy link
Contributor

The embedded mode is not designed to work like this, closing in favor of #3046

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants