I have a cluster with ~20 ES data nodes and 3 masters and want to add coordinator nodes.
I understand the technique of how to add those nodes, but in order to make sure my app is working correctly (and not calling directly to data nodes f.e), i want to add logs to understand which nodes actually get my requests.
f.e - in my app, I want to make sure that writing to elastic goes to data nodes, while reading from elastic will be done via coordinators.
Is there a way to see which node perform the work? which log \ lines I should look for?
(WIll not be used in production, so I don't care if I have many log lines)