Log ingestion time to New Relic

Hi, in order to see delay in logging, we want to log ingest time under ingestionTime attribute. So, our expectation is there will be an additional attribute in the log structure below, which is ingestionTime to store the ingest time.

We are using AWS Firelens plugin (New Relic Fluentbit Output plugin) for log forwarding.
Is that possible and how to do that?

You can’t record the ingestion time directly. If you rename your timestamp attribute to something else then the ingestion time will be used for the timestamp attribute and you can compare them that way, but your logs will show in the UI under the ingest time and not the log’s timestamp.