Splunk Search

Bullet chart still supported in Splunk?

splunkbeginner2
Path Finder

Hello,

I would like to use the "Bullet"-Chart of the jQuery Sparkline plugin from omnipotent.net/jquery.sparkline/#s-about in my Splunk Application. Is this still supported by default? If so, how could I use it? The documentation doesn't mention it anywhere...

(At this point i really wanted to include a link, but here the admins are to restrictive.. Sorry, guys, but that is really annoying!)

I think it might be great to indicate with a bullet chart, in which range this value is (especially for a report). Would be great if you might have any idea, how to do this?

Regards,

Splunkbeginner21

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

You can make bullet sparklines work, take a look at this sample dashboard:

<dashboard>
  <label>sparkline</label>
  <row>
    <panel>
      <table>
        <searchString>| stats count as sparkline | eval sparkline = "##__SPARKLINE__## 10 12 12 9 7" | makemv sparkline</searchString>
        <format type="sparkline" field="sparkline">
          <option name="type">bullet</option>
        </format>
      </table>
    </panel>
  </row>
</dashboard>

That'll produce this output in 6.1:

alt text

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

You can make bullet sparklines work, take a look at this sample dashboard:

<dashboard>
  <label>sparkline</label>
  <row>
    <panel>
      <table>
        <searchString>| stats count as sparkline | eval sparkline = "##__SPARKLINE__## 10 12 12 9 7" | makemv sparkline</searchString>
        <format type="sparkline" field="sparkline">
          <option name="type">bullet</option>
        </format>
      </table>
    </panel>
  </row>
</dashboard>

That'll produce this output in 6.1:

alt text

splunkbeginner2
Path Finder

Works great, Thank you very much!
You saved me a lot of time!

0 Karma

chadmedeiros
Path Finder

I love this solution. It's full of cheating... it's great 🙂

0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...