Add logtrail to dashboard
Is it possible to add logtrail widget to a dashboard?
@jamesmr89
You seem to want to provide the Logtrail feature to users with the kibana_dashboard_only_user role. Is that right?
@sivasamyk
I wanted to configure it as above, so I tried various ways.
However, since the kibana_dashboard_only_user role have only read permission for the .kibana Index, a 404 error occurs when you access the logtrail Plugin.
Therefore, it is not appropriate to simply provide the link to the user.(https://github.com/sivasamyk/logtrail/issues/252)
If I add logtrail the dashboard, can I solve this problem?
If you have any other good ideas, I would appreciate your advice.
I have not tried logtrail in multi-user setup. If I understand correctly we need X-Pack installed for this feature? So we create a Kibana user 'dbuser' who has kibana_dashboard_only_user role assigned. Login as dbuser and he should be able to use Logtrail plugin. Currently logging as dbuser and accessing logtrail url throws 404. Is my understanding correct? Can you check if there are any errors in Chrome dev console or server? Logtrail does not perform any read/writes to .kibana index.
@sivasamyk
You understood exactly.
I checked again, but the dbuser can not access to logtrail. (404 error occurred)
Kibana user 'dbuser' who has kibana_dashboard_only_user role assigned can access only http://KIBANA/app/kibana#/dashboards? URL.
If dbuser try to access to a other than the dashboard such as discovery or management page, it will be redirected.
Only visualizations can be added to Kibana dashboard. Logtrail is an app and does not provide any visualizations. Currently logtrail cannot be added to the dashboard.
I hope we can have multiple logtrail views and save them for next use.
@fatfatson Do you mean multiple logtrail views each with a different set of search text/filters? Something like saved search?
@sivasamyk yes!
A possible workaround is to setup multiple kibanas with different logtrail configuration but is hard to mantain and so expensive depending on the number of required tenants.
@sivasamyk Do you have plans to integrate logtrail with multi-user setup?
@jamesmr89 By multi-user setup, you mean integrating logtrail with multiple users & security feature of Kibana? Security is not part of Elastic OSS, so currently no plans to support non-OSS features in logtrail.