I would like to create a new string field from a date field (@timestamp) in the format "yyyy-MM-dd" (e.g. 2020-12-31) - is that possible with Logstash?
Read through this thread.
Aha, so only by jumping to ruby? Not with mutate?
Is there instead a way to zero-pad a number without ruby?
You cannot convert a date using mutate. I do not think you can zero pad without using ruby.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.