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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...