I am using Audit.Net with ElasticSearch DataProvider to store API logs into an Elastic index.
And I need to implement Elastic search ILM on that index, but to do this a "@timestamp" field need to be set in the root of the document that elastic index receives.
So how can I edit the Event data to add this "@timestamp" field before sending data from my application api logs to ElasticSearch?