Date Filter Question

Hi all,

Currently I have a use case where I have to do some calculation on the time, therefore I need to use date filter plugin in order to parse dates from field.
But I dont want to use that date or timestamp as the logstash timestamp for the event as it is not correct.

Any idea how I can fix this?

Thanks.

You can just set the target field of the filter to something other than @timestamp, e.g. target => "[@metadata][temp_ts]". Then you'll have a field with the result that won't appear in your output.

Ah yes how could I miss that!?
Thank you so much!!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.