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

Monitoring the requests of the user of the Kibana #18650

Closed
anomaliyao opened this issue Apr 28, 2018 · 4 comments
Closed

Monitoring the requests of the user of the Kibana #18650

anomaliyao opened this issue Apr 28, 2018 · 4 comments

Comments

@anomaliyao
Copy link

Is it possible to view the active requests that users made with their logins, the time of the request and other stuff?

@tsullivan
Copy link
Member

tsullivan commented Apr 30, 2018

The feature for monitoring security user activity is in Elasticsearch: https://www.elastic.co/guide/en/x-pack/current/auditing.html

It's auditing security events is off by default, but can be enabled in Elasticsearch config.

Let me know if this is what you were looking for! 😃

@anomaliyao
Copy link
Author

[2018-05-14T14:42:37,721] [transport] [access_granted] origin_type=[rest], origin_address=[127.0.0.1], principal=[user], action=[indices:data/read/search], indices=[test-2017.11,test-2017.12], request=[SearchRequest]
In the logs you can see that the user can see that the search query is visible to which indexes he applied. But what filters applied, the response time and the status of query execution are missing
There is also the ability to log slow requests, there the information is interesting, but again the user can not see who sent the request.

@tsullivan
Copy link
Member

There currently isn't a built-in way of getting that level of detail. You could create your own proxy to run in between Kibana and Elasticsearch and log each requests how you see fit, though.

@kobelb
Copy link
Contributor

kobelb commented Aug 7, 2018

Closing in favor of #17939

@kobelb kobelb closed this as completed Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants