Expected one of get/post/put/delete/head syntax error

I want to remove duplicates on my records for which I am trying to use the fingerprint method.
However, on the first line, I get an error that says "Expected one of get/post/put/delete/ head syntax error.
I am very new to elasticsearch and this happens to be one of my first tries in writing queries as well. Kindly help me out !

Sorry, I had posted an incorrect screenshot earlier. Hence, posting the recent one.

I apologize. I figured out the solution. I need to write the above code in my config file and then run the logstash to remove the duplicates.

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