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!

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...