Use TimeStamp return by Logstash in DateRange Aggregate Bucket Metric

(Ajinkya Sabale) #1

How to use TimeStamp return by Logstash in DateRange Aggregate Bucket Metric? I want to compare logstash results on different timestamps.

(Tim Roes) #2

Hi Ajinkya,

you could just be able to create a "DateRane" aggregation in any graphs and select the @timestamp field from logstash there to get one bucket per time slot. Are there any specific problems you are encountering trying to aggregate on the field?


(Ajinkya Sabale) #3

Thanks for quick response. I understood your point and implemented my query in a different way.

Actually I was trying to compare results of two build definition outputs. That's why I was thinking to differentiate on time stamp basis but now I'm able to save those build numbers in logstash input file and able to read those from result of logstash. I've applied filters in average bucket on the BuildNumber:"1234" field. Hence my problem is resolved now.

(system) #4

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