Is there any APIs to fetch query history?

Hi all,

I'd like to access the query history of users by invoking API for analyzing the user behavior.
Does Elastic Search provide such an API for fetching query history? Any comment is greatly appreciated.

Best Regards
Wendy

Hi @wendy, there is no such API in Elasticsearch for this

Thanks for your reply.
I'd like to get the query history of user in kibana for analyzing the user behavior. Do you have any suggestions?

Best Regards
Wendy

Hi @forloop ,
Is there any other way to achive it? I mean if an malicious/naive user used -X DELETE, how can I prove that the data deletion was not administrator's fault?

IMO the best thing to do is to secure your cluster.
Don't let users who should just read data be able to write or delete.

2 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.