logtrail icon indicating copy to clipboard operation
logtrail copied to clipboard

Add logtrail to dashboard

Open jamesmr89 opened this issue 7 years ago • 9 comments

Is it possible to add logtrail widget to a dashboard?

jamesmr89 avatar Mar 07 '18 18:03 jamesmr89

@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.

7CHANHO avatar Mar 13 '18 02:03 7CHANHO

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 avatar Mar 17 '18 07:03 sivasamyk

@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.

7CHANHO avatar Mar 26 '18 08:03 7CHANHO

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.

sivasamyk avatar Oct 28 '18 04:10 sivasamyk

I hope we can have multiple logtrail views and save them for next use.

fatfatson avatar Dec 08 '18 09:12 fatfatson

@fatfatson Do you mean multiple logtrail views each with a different set of search text/filters? Something like saved search?

sivasamyk avatar Feb 24 '19 06:02 sivasamyk

@sivasamyk yes!

fatfatson avatar Feb 24 '19 16:02 fatfatson

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?

juanmancebo avatar Nov 06 '19 21:11 juanmancebo

@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.

sivasamyk avatar Nov 07 '19 03:11 sivasamyk