Issue with posting json data to elastic search via Flume

Deepak,

The output you see is likely calling the XContentBuilder.toString method.

The output you want (the JSON string) is obtained by calling the
XContentBuilder.string method instead.

Brian

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7649ebf5-254b-4411-9d90-99bde1941208%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.