Trace query execution path

Recently I added several analyzers including synonyms and phonetic plugin to our Elastic indices.
I'm running several queries and I would like to understand the exact path that this query executed from the time it entered to Elastic until I got the results.
For example I would like to understand which Analyzers triggered, which synonym words where chosen etc.
I tried using slowlog however it present only the query without this information.

Let me know if there is something like this and how to enable it.

Thank you in advance,

There is the explain API but that is for scoring. Apart from that there isn't anything at the moment.
This is something we are discussing though.


Couldn't you run ES under a debugger and trace everything?


Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support *

Thank you.
This is really great idea. Hopefully I'll understand the code :slight_smile: