Question on how to edit timestamp


What is the easiest method that I can edit the time stamp so that logs don't report on the second? I have logs that trigger every second and I want to combine them into minutes.

I would like to output the following timestamp as such
Jan 7 06:27:24

Jan 7 06:27



I think it might make sense to dig a little deeper here, as I am not a hundred percent if there is not another question behind your question.

What exactly do you want to achieve by reducing the granularity of the date?

What exactly do you mean with "combine them into minutes"? Why do you want to do that? Why does a range query not work for you or a date histogram agg with the right granularity?


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