How to use sniffer capability in elasticsearch-java client tool?

How to use sniffer capability in elasticsearch-java client tool? According to the documentation, it is not supported by default, and the dependencies are

<dependency>
    <groupId>co.elastic.clients</groupId>
    <artifactId>elasticsearch-java</artifactId>
    <version>8.19.11</version>
</dependency>

Hello and welcome!

You can find documentation on the sniffer here. It’s not part of the elasticsearch-java dependency, it’s from:

<dependency>
    <groupId>org.elasticsearch.client</groupId>
    <artifactId>elasticsearch-rest-client-sniffer</artifactId>
    <version>8.19.11</version>
</dependency>

Sorry, can you provide the full address, I can't open this

1 Like