Splunk Search

Line chart with different events

Kaviyap
New Member

I have a splunk log in following format:

||pool-2-thread-1|| INFO  SUCCESSFULLY COMPLETED at END_TIME: 2018-05-07T06:05:17.475Z 

||pool-2-thread-1|| INFO ACTIVE at START_TIME: 2018-05-07T06:04:44.981Z 

||pool-2-thread-1|| INFO SUCCESSFULLY COMPLETED at END_TIME: 2018-05-09T07:10:17.475Z 

||pool-2-thread-1|| INFO ACTIVE at START_TIME: 2018-05-09T07:08:44.981Z 

all the above are separate events. Now I want to get the start date and end date as follows:

startDate                                    Enddate
-------------------------------------------------------
 2018-05-09T07:08:44.981Z   2018-05-09T07:10:17.475Z
2018-05-07T06:04:44.981Z    2018-05-07T06:05:17.475Z 

and I need to draw a timechart with the data. Am new to the splunk, can anyone please suggest me how can I do it.

0 Karma

woodcock
Esteemed Legend

To do what Splunk calls timechart, you only need 1 value. What do you mean by timechart and why do you need both values?

0 Karma

xpac
SplunkTrust
SplunkTrust

Are these events always in the right order, e.g. start, end, start, end, etc?

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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...