I am trying to integrate java api with elasticsearch and I'm getting confused by the documentation on the elastic.co website. So I downloaded maven but I don't know where to place the maven dependency, on what pom.xml file. I only have a pom.xml file when I downloaded logstash and my-sql-connector.
After placing the maven dependency clause into the pom.xml file, what is the next step to to fire java api requests to elasticsearch/kibana?
I still don't know what to do after looking at this guide. Do you have to write out a RESTbuilder class on a java file?
You don't know Maven, right?
So it'd be better to first understand how Maven works. Lot of documentation is available about it on internet.
In short, create a
pom.xml file like:
<?xml version="1.0" encoding="UTF-8"?>
And that should help you importing the needed libs and start using the Rest Client.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.