Refine your search:

Hi,

I'd like to create some dashboards that make use of Sparklines, so that I could explicitly track a number of key performance indicators. I've seen the Community Page that describes how to use jQuery Sparklines to bring this data outside of a Splunk 3.x instance, but it seems like this should be easier to do within the 4.x architecture. I see references to adding custom HTML & CSS in the developer documentation, but not much about adding Javascript. I'm also confused how search results could be serialized into a csv list (necessary for input into the Sparkline library). I'd probably make use of the How to use one search for a whole dashboard page as well.

Where would you start?

asked 14 Jun '10, 22:01

Yancy's gravatar image

Yancy
396114
accept rate: 37%

edited 05 May '11, 14:51

jlaw's gravatar image

jlaw ♦
20113


3 Answers:

Sparkline will be a new feature in the upcoming 4.3 release, in which you can use the sparkline function in your search query. An example would be:

index=_internal | chart sparkline count by sourcetype

Or you can even embed the sparkline function into your existing stats function.

sourcetype=access_combined | stats sparkline count, avg(hits) by server | sort count

If your current dashboard requirements can wait, I would suggest you hold on till 4.3 is out.

link

answered 03 Dec '11, 05:29

twkan's gravatar image

twkan
54014
accept rate: 27%

These were demo'd at splunkconf as being a feature in 4.3

link

answered 01 Dec '11, 19:19

Damien%20Dallimore's gravatar image

Damien Dalli...
2.6k17
accept rate: 21%

I am waiting for this to be answered also !

link

answered 01 Dec '11, 11:59

camilleballi's gravatar image

camilleballi
11
accept rate: 0%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×207
×194
×37

Asked: 14 Jun '10, 22:01

Seen: 1,238 times

Last updated: 03 Dec '11, 05:29

Copyright © 2005-2012 Splunk, Inc. All rights reserved.