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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...