Splunk Search

Plot Response Time Events from Web Log

zloc
Engager

Hi there,

This should be a pretty simple question. I have looked around for a while. We have a web log we are trying to do some analysis on.

I would like to plot all the events in the last 4 hours (very low volume) and see the response time graph.

The response time field is called ms and it's in milliseconds (ms=185).

Help please.

Thank you!

0 Karma
1 Solution

Damien_Dallimor
Ultra Champion

You could use table or timechart commands to format the data for graphing.

... | table _time,ms
... | timechart avg(ms) min(ms) max(ms)

If you provide a sample of your logs I could probably give a better example.

View solution in original post

zloc
Engager

Thank you!!!

'| table _time,ms" worked perfectly. I really appreciate the help

Here is a line from the log. This is from a Google App Engine (GAE) log.

/something/whatwhat?longitude=-118.4521985707045&latitude=33.99926074318029&storePin=blahblah HTTP/1.1" 200 495 - "blah.dev/1000 CFNetwork/548.1.4 Darwin/11.0.0" "blahblah.appspot.com" ms=176 cpu_ms=38 api_cpu_ms=38 cpm_usd=0.001345 instance=blahblahblah
0 Karma

Damien_Dallimor
Ultra Champion

You could use table or timechart commands to format the data for graphing.

... | table _time,ms
... | timechart avg(ms) min(ms) max(ms)

If you provide a sample of your logs I could probably give a better example.

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, ...