Debug Logging In Elasticsearch

Hi Team,

We want to enable debugging or trace in Elasticsearch to capture client connection, capture the timings while user querying the indices. Is there anyway to possible these task.

NOTE:- Here we are using NodeJS scripting to connect with Elastic and querying the Index.

Thanks,
Debasis

Elasticsearch integrates with its own APM product, which has a NodeJS integration. That's the best way to get this information IMO. I don't think you can do this with logging.