I want to use MergeContent processor to merge tweets to bulk insert into Elasticsearch index. For this I need command and tweets (each) to be separated by \n. This is how it should look like
{ action: { metadata }}\n
{ request body }\n
Which will be
{ “index”}
{ tweet1 }
{ tweet2 }
When I put \n as separator the processor actually adds \n as a string instead of new line separator. Is it possible to make it actual new line? Also is it possible to leave or make footer empty?
Thanks in advance.