Get informations of one field via API

Hey there!

I need to get all the ip addresses of the clients which are logging into the cluster via the elasticsearch api.
Is there a way to get only the output of the "host.keyword" field?



you might want to take a look at the terms aggregation.

Note this might only make sense if you dont have an insane high amount of hosts to aggregate on.


1 Like

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