<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dotted Line Chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58546#M14340</link>
    <description>&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;Short answer:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="charting.lineBrush"&amp;gt;dashedStroke&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here's the link: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Viz/CustomChartingConfig-FontColorBrushPalette"&gt;Brush Strokes&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Long Answer:&lt;/P&gt;

&lt;P&gt;I like to establish a core brush I use on a chart when I make modifications, in this case, a dashed line brush:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="charting.myBrush"&amp;gt;dashedStroke&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.dashSize"&amp;gt;10&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.dashSpacing"&amp;gt;10&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.color"&amp;gt;0xFF0000&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.thickness"&amp;gt;5&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="charting.myBrushPalette"&amp;gt;list&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrushPalette.brushes"&amp;gt;[@myBrush]&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.chart.lineBrushPalette"&amp;gt;@myBrushPalette&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="charting.myBrush"&amp;gt;dashedStroke&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.dashSize"&amp;gt;10&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.dashSpacing"&amp;gt;10&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.color"&amp;gt;0xFF0000&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.thickness"&amp;gt;5&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush2"&amp;gt;solidStroke&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush2.color"&amp;gt;0x00FF00&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrushPalette"&amp;gt;list&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrushPalette.brushes"&amp;gt;[@myBrush,@myBrush2]&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.chart.lineBrushPalette"&amp;gt;@myBrushPalette&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will use the dotted line for the "first" series, and a green line for the "second" series, reguardless of name.&lt;BR /&gt;
If you want more control, use the "field" palette to define the name of the series to reference a brush.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="charting.myBrush"&amp;gt;dashedStroke&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.dashSize"&amp;gt;10&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.dashSpacing"&amp;gt;10&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.color"&amp;gt;0xFF0000&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.thickness"&amp;gt;5&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush2"&amp;gt;solidStroke&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush2.color"&amp;gt;0x00FF00&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrushPalette"&amp;gt;field&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrushPalette.fieldBrushes"&amp;gt;{Average_Duration:@myBrush,Count:@myBrush2}&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrushPalette.defaultBrushPalette"&amp;gt;@myBrush2&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.chart.lineBrushPalette"&amp;gt;@myBrushPalette&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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".  &lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2011 06:13:33 GMT</pubDate>
    <dc:creator>bbingham</dc:creator>
    <dc:date>2011-08-18T06:13:33Z</dc:date>
    <item>
      <title>Dotted Line Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58545#M14339</link>
      <description>&lt;P&gt;Is it possible to create a dotted Line Chart in splunk using Advanced XML?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2011 01:46:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58545#M14339</guid>
      <dc:creator>Dark_Ichigo</dc:creator>
      <dc:date>2011-08-16T01:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dotted Line Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58546#M14340</link>
      <description>&lt;P&gt;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.&lt;/P&gt;

&lt;P&gt;Short answer:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="charting.lineBrush"&amp;gt;dashedStroke&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here's the link: &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Viz/CustomChartingConfig-FontColorBrushPalette"&gt;Brush Strokes&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Long Answer:&lt;/P&gt;

&lt;P&gt;I like to establish a core brush I use on a chart when I make modifications, in this case, a dashed line brush:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="charting.myBrush"&amp;gt;dashedStroke&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.dashSize"&amp;gt;10&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.dashSpacing"&amp;gt;10&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.color"&amp;gt;0xFF0000&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.thickness"&amp;gt;5&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="charting.myBrushPalette"&amp;gt;list&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrushPalette.brushes"&amp;gt;[@myBrush]&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.chart.lineBrushPalette"&amp;gt;@myBrushPalette&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="charting.myBrush"&amp;gt;dashedStroke&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.dashSize"&amp;gt;10&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.dashSpacing"&amp;gt;10&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.color"&amp;gt;0xFF0000&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.thickness"&amp;gt;5&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush2"&amp;gt;solidStroke&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush2.color"&amp;gt;0x00FF00&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrushPalette"&amp;gt;list&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrushPalette.brushes"&amp;gt;[@myBrush,@myBrush2]&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.chart.lineBrushPalette"&amp;gt;@myBrushPalette&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will use the dotted line for the "first" series, and a green line for the "second" series, reguardless of name.&lt;BR /&gt;
If you want more control, use the "field" palette to define the name of the series to reference a brush.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="charting.myBrush"&amp;gt;dashedStroke&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.dashSize"&amp;gt;10&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.dashSpacing"&amp;gt;10&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.color"&amp;gt;0xFF0000&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush.thickness"&amp;gt;5&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush2"&amp;gt;solidStroke&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrush2.color"&amp;gt;0x00FF00&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrushPalette"&amp;gt;field&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrushPalette.fieldBrushes"&amp;gt;{Average_Duration:@myBrush,Count:@myBrush2}&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.myBrushPalette.defaultBrushPalette"&amp;gt;@myBrush2&amp;lt;/param&amp;gt;
&amp;lt;param name="charting.chart.lineBrushPalette"&amp;gt;@myBrushPalette&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;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".  &lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2011 06:13:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58546#M14340</guid>
      <dc:creator>bbingham</dc:creator>
      <dc:date>2011-08-18T06:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dotted Line Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58547#M14341</link>
      <description>&lt;P&gt;Iv tried that, but I really cant get to do it......Any more help would be great!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2011 08:23:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58547#M14341</guid>
      <dc:creator>Dark_Ichigo</dc:creator>
      <dc:date>2011-08-25T08:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dotted Line Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58548#M14342</link>
      <description>&lt;P&gt;Im currently having trouble setting the Line Stroke, is there a Step by Step tutorial of doing so?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2011 03:09:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58548#M14342</guid>
      <dc:creator>Dark_Ichigo</dc:creator>
      <dc:date>2011-09-12T03:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dotted Line Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58549#M14343</link>
      <description>&lt;P&gt;I'll modify my original response to include a short walkthrough.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2011 06:00:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58549#M14343</guid>
      <dc:creator>bbingham</dc:creator>
      <dc:date>2011-09-13T06:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dotted Line Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58550#M14344</link>
      <description>&lt;P&gt;Excellent answer.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2011 06:39:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58550#M14344</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-09-13T06:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dotted Line Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58551#M14345</link>
      <description>&lt;P&gt;Hey bbingham. That's an excellent answer. The link "Brush Strokes" seems to be broken. Could you please update the latest one if there is any ?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 17:05:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58551#M14345</guid>
      <dc:creator>immortalraghava</dc:creator>
      <dc:date>2016-07-08T17:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dotted Line Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58552#M14346</link>
      <description>&lt;P&gt;Updated, let me know if you have any issues.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 22:50:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Dotted-Line-Chart/m-p/58552#M14346</guid>
      <dc:creator>bbingham</dc:creator>
      <dc:date>2016-07-13T22:50:06Z</dc:date>
    </item>
  </channel>
</rss>

