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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...