-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Locking down on Kibana dashboard #8197
Comments
This isn't really possible in a supported way in Kibana. There are some feature requests open for these things, though: Time picker in embedded dashboards: #2739 If you still want to try to hack this together in an unsupported way, I recommend asking for help on our irc channel |
@erickyi2006 what changes did you do in index.html file to maintain the searchbar with embed true? |
Hi @erickyi2006 I have similar setup and wanted to implement search and time picker ability in embed=true mode. Can you please advise what you changed so i can implement in my setup Thanks |
oooh.. it was a long time ago. if memory serves me right, the search and timepicker is controlled by the chrome controller once embed is set to true. maybe set the latest version of kibana is different so whatever kludge we do, we must apply to the index.html or dashboard_app.html. curious, @epixa , were the two features (#2739 and #3046) implemented? |
@erickyi2006 They have not been implemented yet |
Hi @erickyi2006 and @epixa Thank you for your replies. Actually i am a little bit weak on html part and so i was having hard time to have search bar in embed mode in kibana version 6.0.1. As we are a week before going live so please if you guys can help me out with this code implementation as part of work around to have search bar in embed=true mode that will be really helpful for me and all our community. Thank you in advance, |
did you try the nav-bar modification above?
the index.html should be in the this folder |
Hi @erickyi2006 Thank you so much for your quick reply. So now code base is changed a little here https://github.com/elastic/kibana/blob/master/src/core_plugins/kibana/public/dashboard/dashboard_app.html i dont get where to have this line so that it can make search bar visible Thanks |
hi Samuel hmm.. on looking at the new source, i think I have told you something incorrect. the hidding is definitely related to chrome.getVisible but you must remove it instead of adding it in. my bad. can you try this? please be patient as i am trying to work from theory. once you have installed kibana in your environment, go to the dashboard folder. backup your index.html or dashboard_app.html. original
new
|
Hi @erickyi2006 I am really glad that you are helping me on this. Sure, so I tried the above source code edit but it didnt seem to have worked. Thanks in advance, |
Hi @erickyi2006, below is the code to dashboard.html
|
Hi @erickyi2006 , Any advise on how could i include search bar in dashboard embedded mode as still i am struggling on including search bar. Thanks |
Hi @erickyi2006 If you can please help on displaying search bar in embedded mode? Thanks |
Hi @erickyi2006 Were you able to figure out how we can add an search bar under embedded mode? It will really helpful if you can advise on this as we are going in production. Thanks, Sam |
I am also trying to add the time picker and search panel in my embed code dashboard, can you please guide me.. |
The current supported way to lock down the Kibana dashbord is to append the embed=true in the dashboard URL. This is cool and it hides the Kibana menus and locks down the individual container menus. It works.
What I want is to give to our NOC users two additional parameters :-
What would be the best way for me to do that? If I can specify the schema JSON file, I am game to explore this as well. Any guidance would be most appreciated.
The text was updated successfully, but these errors were encountered: