Hi Y'all,
I'm using the timeline visualization to show "start time" and "avg start time" values of the entities inside the JOB_NAME, this search is only showing circle marks that belong to the "start time" values for each entity.
Is it possible to put these two values ("start time" and "avg start time") in each row?
So I could show to the costumers the start time of the entity and compare to the avg start time and then analyze some disturb in the process.
I'm including the search below (in comments), reach me if it's something wrong.
index=B sourcetype=A JOB_NAME IN (RTCTIM007, RTCTIM077, RGTSTOP99, RRTOTCPOS, RTCVAL02, RTCSTO001, RGTSTOP99)
| rex field=AVG_START_TIME "(?[\w]{2})(?[\w]{2})(?[\w]{2})"
| eval DIA = if (HORA>=24,1,0), HORA = if(HORA>=24,HORA-24,HORA)
| eval AVG_START_TIME_N=tostring((HORA*3600)+(MINUTO*60)+SEGUNDO,"duration")
| eval AVG_START_TIME_CALC=((HORA*3600)+(MINUTO*60)+SEGUNDO)
| eval START_TIME = strptime(START_TIME,"%Y%m%d%H%M%S")
| eval END_TIME = strptime(END_TIME,"%Y%m%d%H%M%S")
| rex field=START_TIME "(?[\w]{2})(?[\w]{2})(?[\w]{2})"
| eval DIA = if (HORA>=24,1,0), HORA = if(HORA>=24,HORA-24,HORA)
| eval START_TIME_CALC=((HORA*3600)+(MINUTO*60)+SEGUNDO)
| eval START_TIME_N=tostring((HORA*3600)+(MINUTO*60)+SEGUNDO,"duration")
| eval START_DATE = strftime(START_TIME,"%Y-%m-%d")
| eval EXECUTION_TIME = END_TIME-START_TIME
| stats values(START_DATE) as START_DATE, values(EXECUTION_TIME) as EXECUTION_TIME, values(AVG_START_TIME) as AVG_START_TIME, values(START_TIME) as START_TIME by JOB_NAME
| sort START_TIME
| table START_TIME JOB_NAME START_DATE