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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...