Splunk Search

Chart visualization

ChhayaV
Communicator

hi,

this is my query

index=tm_idx host="server" sourcetype="TM_Test_10"  
| rex field=msg "(?i)TM1\sserver\sload\stime\s\(secs\)\s\=\s(?P<timetakentostart>\w+)" 
| where timetakentostart!="" 
| timechart sum(timetakentostart) by timetakentostart

alt text

In above chart i want to show 16:2 means count is 2 .can anyone please suggest me how can i do it ?

Thanks and Regards

0 Karma

ShaneNewman
Motivator

Why not create a table below to summarize this information? Just use the base search in a search module, then use PostProcess/HiddenPostProcess for the chart and table.

0 Karma

ChhayaV
Communicator

hi i need to show sum

0 Karma

somesoni2
SplunkTrust
SplunkTrust

You can change the sum to count in timechart command. This way it will show 16:2 in tooltip but the graph will also be adjusted to show just the count on y-axis.

0 Karma

cramasta
Builder

Not sure if this can be done but you can read up on the tool tip properties here which *might allow you to do it. However if it is possible you will need to use advanced xml for your dashboard in order for it to render using flashchart instead of jschart as the doc's state jschart is not supported with the tool tip properties..

http://docs.splunk.com/Documentation/Splunk/5.0.4/Viz/CustomChartingConfig-Tooltip

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...