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 !
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.

