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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...