Hello Everyone,
I am currently trying to parse a message that contains multiple JSON entries with filebeat input Azure Blob Storage. I have tried using decode_json_fields, multiline but it seems like "multiline" only works for logs or filestream. The decode_json_fields is also not working.
An example of what I am working with below:
Example:
{"fruit": "Apple", "size": "Large", "color": "Red"}
{"fruit": "Apple", "size": "Large", "color": "Red"}
{"fruit": "Apple", "size": "Large", "color": "Red"}
Within the server the actual data inside the message looks like this:
"message":{\"fruit\":\"Apple\",\"size\":\"Large\",\"color\":\"Red\"}\n{\"fruit\":\"Apple\",\"size\":\"Large\",\"color\":\"Red\"}\n{\"fruit\":\"Apple\",\"size\":\"Large\",\"color\":\"Red\"}\n
What I would like to get is:
- For the data to come in the follwoing format below within the message and for each entrie to be a seperate message:
{
"fruit": "Apple",
"size": "Large",
"color": "Red"
}
Does azure blob storage have any limitation for parsing the JSON messages within or what I am looking for?