|
Is it possible to create a dotted Line Chart in splunk using Advanced XML? |
|
Yes it is possible, you need to modify the brush. Let me know if you need more information on it, but you need to set the line stroke. Short answer:
Here's the link: Brush Strokes Long Answer: I like to establish a core brush I use on a chart when I make modifications, in this case, a dashed line brush:
Basically, this will create one super ugly thick red dashed line. When dealing with charts, you need to tell splunk how to reference the "series" of data (incase there is more then one line).
We are telling splunk to now use a "list" for the series. This list only contains 1 option, therefore it's used for each line on the chart. You can specify additional brushes for line rendering other lines by following the same process.
This will use the dotted line for the "first" series, and a green line for the "second" series, reguardless of name. If you want more control, use the "field" palette to define the name of the series to reference a brush.
This will establish the "count" line as the dotted line, the "Average_Duration" line as the green line, then make any other line the same green line as "Average_Duration". Iv tried that, but I really cant get to do it......Any more help would be great!
(25 Aug '11, 01:23)
Dark_Ichigo
Im currently having trouble setting the Line Stroke, is there a Step by Step tutorial of doing so?
(11 Sep '11, 20:09)
Dark_Ichigo
I'll modify my original response to include a short walkthrough.
(12 Sep '11, 23:00)
bbingham
Excellent answer.
(12 Sep '11, 23:39)
Ayn
|