Dashboards & Visualizations

format sparkine as bar for multiple sparkine

k_harini
Communicator

I'm facing issue with formatting sparkine as bar chart for multiple sparklines
index=xxx counter="% Idle time" OR counter="% User Time" |stats sparkline(avg(Value),1h) as Trend avg(Value) as "Avg_Value" by host counter|eval Avg_Value=round(Avg_Value,2)."%"|xyseries host counter "Avg_Value" Trend

I could see sparkline trend values as "Trend:% Idle time" "Trend:% User Time". How to specify this in format tag
Tried this

   <code>
    <format field= "Trend:% Idle time"  type="sparkline">
     <option name="type">bar</option>
   </format>
   </code>

This is not working.. can someone please help

Tags (1)
0 Karma
1 Solution

k_harini
Communicator

This is resolved. I could rename and give in different format tags. Thanks..

View solution in original post

0 Karma

k_harini
Communicator

This is resolved. I could rename and give in different format tags. Thanks..

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