We use Kibana, ElasticSearch and Logstash to monitor the health of production systems.
When fatal errors are logged, then handled by our support staff, we would like to be able to tag them as "Handled/Fixed" as well as insert a comment, within our Kibana dashboard.
This way we could set up a dashboard that displays only "Unhandled" errors that haven't been looked at by the support staff. A very basic ticket system, if you will, based on production logs.
Is there any plugin for Kibana that provides this feature?
If not, could a gentle soul provide a high-level overview of the development that would be required to write such a plugin?
I would think you could do this with a Javascript file that gets included in the Kibana dashboard.
You would write a file (let's pretend it's called support.js) and then add the to the Kibana HTML.
Then you can inspect the DOM that Kibana generates and:
Add a button where needed.
Show a modal popup when the button is clicked.
Wire up the save button to make AJAX calls to ES. (Marking a ticket as handled/fixed).
The script would introduce new fields to the documents and then it's easy to configure Kibana to filter on the fields.
That's the most orthogonal way to try and add functionality without getting into the actual Kibana code.
Related
I have setup Elasticsearch and Kibana 7.0.1 version. May I know how to hide or remove the Management menu from Kibana UI?
As mentioned in this other thread, you can leverage the dashboard-only mode if you want to hide everything but dashboards.
Otherwise, since Kibana 7.2, you can go to Management > Spaces and decide to hide some Management features, such as:
Advanced settings
Index patterns management
Saved objects management
Also worth noting that there's an open issue to actually hide features based on cluster privileges.
The configuration of Kibana UI is received in the response to the /{SPACE_URI}?api/core/capabilities request. You can manipulate this response by putting Kibana behind a proxy (mitmproxy is a quick/clean choice) and within the response set body['navLinks']['kibana:management'] = False. Then you won't see that management button on the sidebar anymore.
After searching forever in Kibana 7.7.1, finally found that you can define what roles to include in the "Dashboard Only" mode under Advanced Settings. Here you can define a second role to have dashboard only, AND NOT access to all spaces as the kibana_dashboard_only_user does.
Advanced Settings --> Dashboard
You can hide the management menu by clicking the Collapse button at the bottom of the menu.
Collapse UI
I'm not so sure about removing it. Probably there is a more contextually appropriate solution for your concern, such as embedding a dashboard onto your app, or restricting management permissions to a certain group of users.
dashboard-only-mode may be of interest to you, and you can move up to minor version 7.1.0 in order to make this a free feature.
I'm really after some advice here please.
I have a membership website, and I am using WordPress to manage access to my paid subscriptions.
I'm interested in Kibana in terms of its' data visualization but my question is really one of whether I'm using it for the wrong purposes?
My point is: can Kibana be embedded and made to look white-labelled?
I'm pretty sure Kibana is really meant for internal use hence my question.
Thanks!
Yes that is possible. You can create various visualizations and have them integrated into one dashboard in Kibana.
This dashboard feature has capability to share these visualizations as discussed in this LINK. As an example, the share URL comes in the below format:
<iframe src="http://abc.myserver.com:5601/app/kibana#/dashboard/a6c99100-b2b2-11e7-8aa0-9fc1ad35f7e7?embed=true&_g=()" height="600" width="800"></iframe>
You can either share the current state of the dashboard with your users, or share them the most recent view of the dashboard whenever they reload their page.
Let me know if it helps.
Let's say I'm having few Kibana dashboards created upfront, and what I need to know is that will it be possible for me to add a UI component, for example a print button within the dashboard itself, in order for the user to print the dashboard externally? Apart from the feature to export it as a PDF, which is given by Kibana implicitly.
Any help could be appreciated. :)
[Background]
I have a dashboard which logs performance of my application for
multiple versions.
[Query]
Need to load a specific visualization(say line graph) only when a
filter of 'version:1.1' is applied.
[Additional Info]
The reason behind this is when no version is selected, it loads all the samples of all the version which is messy and the data is unreadable.
I cannot add that as a filter before hand because I don't know which version the user would want to analyse.
Also, I want to avoid another hyperlink which re-directs to a new page.[If this is possible, please share as I am not sure, how would I force user to select app version before moving to that page]
P.S.: Please let me know if I am not making sense here.
This might sound a bit confusing but here it goes.
I have a 'Default' dashboard which shows a combination of visualization and dashboards. Basically i am showing a lot of customers on a default dashboard.
The entries on this dashboard will remain same and the search will narrow down once the user clicks a particular customer on visualization {say bar-chart}.
Now I want that when user clicks on the bar chart or does a search like cust_name , it should show a another dashboard instead of the default one which i configured for "customer specific detail"
I am not sure how to do this
There is no such feature in Kibana 4.x.
You can define the dashboards you desire to be opened and add the filtering visualization from the main one.
Also you can write a simple web page to call embedded kibana dashboards with queries injected when calling the dashboards.