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
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...