Hi,
here my config: `elasticsearch {
hosts => "localhost:9200"
index=>"servers"
query => '{
"query": {"match": {
"server_id": "584"
}}
}'
}`
It generates this error:
,"reason":"Cannot parse
'{\n\t\t\t "query": {"match": {\n\t\t\t\t"server_id": "584"\n\t\t\t }}\n\t\t\t}': Encountered " <RANGE_GOOP> "{\"match\": "" at line 1,
column 16.\nWas expecting one of:\n "]" ...\n "}" ...\n ","caused_by":{"type":"parse_exception","reason":"Encountered " <RANGE_GOOP> "{\"match\": "" at line 1,
column 16.\nWas expecting one of:\n "]" ...\n "}" ...\n "}}}}]},"status":400}>, :level=>:warn}
Thanks for help !