Splunk Search

How to create a report which will provide details about the duration between each call?

simikd
New Member

I have a log file like this:

2016-04-26 11:19:05,833 INFO  [pool-1333-thread-2]  (Test.java:412) - POST http://localhost:8080/rest/login
2016-04-26 11:19:08,796 INFO  [pool-1333-thread-2]  (Test.java:429) - HTTP/1.1 200 OK.

My requirement is "Use any log parser tool, create a report which will provide details about how much time each call takes".

I am very new to this. Please help me. It is very urgent.

0 Karma

sundareshr
Legend

If you are just looking for the time difference between two entries, assuming these events are in splunk, you could use this to get the time difference

index=nameofindexwithlogifiles | delta _time as timediff | eval timediff=tostring(timediff, "duration")
0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...