Splunk Search

Scale Y axis for timechart

kkao00
Engager

Hi,

I run a real time query in splunk search during load testing, and it comes out like this:

http://picpaste.com/pics/splunk_timechart-vCg4doz1.1347913377.PNG
alt text

I'd like to be able to divide the y-axis by 60. So instead of 200/400/600/800 it'd be 3.33/6.66/10/etc. Can this be done?

The query is sourcetype="access-prod-wcs" useragent = "CLOUDTEST-SOASTA" OR useragent = "Lr-Perf" OrderProcessCmd | timechart count by sitefamily

Thanks

Tags (3)
0 Karma
1 Solution

melting
Splunk Employee
Splunk Employee

I think you just want to eval count to what you want

ex:
... | eval(count(source)/60)

So your search:
sourcetype="access-prod-wcs" useragent = "CLOUDTEST-SOASTA" OR useragent = "Lr-Perf" OrderProcessCmd | timechart eval(count(sitefamily)/60) by sitefamily

Other timechart commands:
CommonStatsFunctions

View solution in original post

melting
Splunk Employee
Splunk Employee

I think you just want to eval count to what you want

ex:
... | eval(count(source)/60)

So your search:
sourcetype="access-prod-wcs" useragent = "CLOUDTEST-SOASTA" OR useragent = "Lr-Perf" OrderProcessCmd | timechart eval(count(sitefamily)/60) by sitefamily

Other timechart commands:
CommonStatsFunctions

kkao00
Engager

Thank you!!!

0 Karma

melting
Splunk Employee
Splunk Employee

I edited my answer. I had an ever simplified version of your search. Take look at my edited answer.

kkao00
Engager

Didn't seem to work...Shows the same chart as the original query.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...