We stream the application log from ECS to New Relic with the flow as below :
AWS ECS > AWS FireLens with Fluent Bit as a sidecar container> AWS Kinesis Data FireHose > New Relic HTTP endpoint
We can see the logs coming up to New Relic. But the problem is:
The timestamp column in New Relic Logs is different from the message log’s timestamp. The value in the timestamp column that we need is supposed to be timestamp in the message log.
The logs are in incorrect order. If you see the picture below, the millisecond (4th column) shows it all (jumbled order)
How to solve this issue?