Dashboards & Visualizations

Is it possible for timeline visualization to put two fields in the same row?

nsantiago17
Explorer

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.

0 Karma

nsantiago17
Explorer

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

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...