Duplicate query error


(narasiman) #1
output {

elasticsearch { 
hosts => ["localhost:9200"] 
manage_template => false
index => "clinical"
'_id': <RRH_MR_NUM>  }
stdout { codec => rubydebug }
}

i want to remove the duplicates for that i written above but it shows error as follows
in the below line

'_id': <RRH_MR_NUM>

what is the mistake i made in my above line

please do the needful.


(Nachiket) #2

There is no setting called '_id' .

https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-document_id

Regards,
N


(system) #3

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