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!

Thanks for the Memories! Splunk University, .conf24, and Community Connections

Thank you to everyone in the Splunk Community who joined us for .conf24 – starting with Splunk University and ...

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...