<?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 Timechart command and changing Visualization colors in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Timechart-command-and-changing-Visualization-colors/m-p/326245#M3017</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I think I've very close to getting this working.....but having issues with the eval command for some reason? Can't seem to figure out why and the error doesn't give me much to go on....&lt;/P&gt;

&lt;P&gt;Basically just trying to get different colors into the horizontal barchart.&lt;/P&gt;

&lt;P&gt;product=Windows EventCode=645 OR EventCode=4741 | timechart span=1w count | eval Severe=if(count&amp;gt;25,count,0) | eval High=if(count&amp;lt;=25 AND count&amp;gt;20,count,0) |eval Moderate=if(count&amp;lt;=20 AND count&amp;gt;15,count,0) | eval Low=if(count&amp;lt;=15, count&amp;gt;7,count, 0) | eval Very_Low=if(count&amp;lt;=7, count=&amp;gt;0,count, 0) |convert timeformat="%Y-%m-%d" ctime(Date)| rename _time as Date, count as Count&lt;/P&gt;

&lt;P&gt;XML&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.fieldColors"&amp;gt;{"Severe":0xFF0000,"High":0xff8000,"Moderate":0xFFFF00,"Low":0x00FF00,"Very Low":0x0000ff}&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 17:35:32 GMT</pubDate>
    <dc:creator>Hegemon76</dc:creator>
    <dc:date>2018-04-10T17:35:32Z</dc:date>
    <item>
      <title>Timechart command and changing Visualization colors</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Timechart-command-and-changing-Visualization-colors/m-p/326245#M3017</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I think I've very close to getting this working.....but having issues with the eval command for some reason? Can't seem to figure out why and the error doesn't give me much to go on....&lt;/P&gt;

&lt;P&gt;Basically just trying to get different colors into the horizontal barchart.&lt;/P&gt;

&lt;P&gt;product=Windows EventCode=645 OR EventCode=4741 | timechart span=1w count | eval Severe=if(count&amp;gt;25,count,0) | eval High=if(count&amp;lt;=25 AND count&amp;gt;20,count,0) |eval Moderate=if(count&amp;lt;=20 AND count&amp;gt;15,count,0) | eval Low=if(count&amp;lt;=15, count&amp;gt;7,count, 0) | eval Very_Low=if(count&amp;lt;=7, count=&amp;gt;0,count, 0) |convert timeformat="%Y-%m-%d" ctime(Date)| rename _time as Date, count as Count&lt;/P&gt;

&lt;P&gt;XML&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.fieldColors"&amp;gt;{"Severe":0xFF0000,"High":0xff8000,"Moderate":0xFFFF00,"Low":0x00FF00,"Very Low":0x0000ff}&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 17:35:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Timechart-command-and-changing-Visualization-colors/m-p/326245#M3017</guid>
      <dc:creator>Hegemon76</dc:creator>
      <dc:date>2018-04-10T17:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart command and changing Visualization colors</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Timechart-command-and-changing-Visualization-colors/m-p/326246#M3018</link>
      <description>&lt;P&gt;Answered my own question but a different issue appeared! I was missing two operators in the search string and adjusted the "count=&amp;gt;0" to "count&amp;gt;0"&lt;/P&gt;

&lt;P&gt;product=Windows EventCode=645 OR EventCode=4741 | timechart span=1w count | eval Severe=if(count&amp;gt;25,count,0) | eval High=if(count&amp;lt;=25 AND count&amp;gt;20,count, 0)| eval Moderate = if(count&amp;lt;=20 AND count&amp;gt;15,count,0) | eval Low = if(count&amp;lt;=15 AND count&amp;gt;7,count, 0) | eval Very Low = if(count&amp;lt;=7 AND count&amp;gt;0,count, 0)| rename _time as Date, count as Count |convert timeformat="%Y-%m-%d" ctime(Date)&lt;/P&gt;

&lt;P&gt;Since I can't post pictures this is going to be difficult....&lt;/P&gt;

&lt;P&gt;In the graph I have the colors and information I want however there is also the "count" field for obvious reasons (it is a timechart). I suppose there is no way to get rid of that?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 17:46:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Timechart-command-and-changing-Visualization-colors/m-p/326246#M3018</guid>
      <dc:creator>Hegemon76</dc:creator>
      <dc:date>2018-04-10T17:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart command and changing Visualization colors</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Timechart-command-and-changing-Visualization-colors/m-p/326247#M3019</link>
      <description>&lt;P&gt;Hi @Hegemon&lt;/P&gt;

&lt;P&gt;It is great you were able to answer your question! Please post the answer here so the rest of the community can benefit from it. Also please post your second question as a new question so you can get maximum exposure on it. &lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 22:55:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Timechart-command-and-changing-Visualization-colors/m-p/326247#M3019</guid>
      <dc:creator>Anam</dc:creator>
      <dc:date>2018-04-10T22:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart command and changing Visualization colors</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Timechart-command-and-changing-Visualization-colors/m-p/326248#M3020</link>
      <description>&lt;P&gt;I did post my answer.&lt;/P&gt;

&lt;P&gt;I will make another question. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 22:56:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Timechart-command-and-changing-Visualization-colors/m-p/326248#M3020</guid>
      <dc:creator>Hegemon76</dc:creator>
      <dc:date>2018-04-10T22:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart command and changing Visualization colors</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Timechart-command-and-changing-Visualization-colors/m-p/326249#M3021</link>
      <description>&lt;P&gt;@Hegemon76, I have converted your comment to answer. Please accept the same to mark this question as answered!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 09:09:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Timechart-command-and-changing-Visualization-colors/m-p/326249#M3021</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-04-11T09:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart command and changing Visualization colors</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Timechart-command-and-changing-Visualization-colors/m-p/326250#M3022</link>
      <description>&lt;P&gt;I believe I have accepted!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 16:43:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Timechart-command-and-changing-Visualization-colors/m-p/326250#M3022</guid>
      <dc:creator>Hegemon76</dc:creator>
      <dc:date>2018-04-11T16:43:55Z</dc:date>
    </item>
  </channel>
</rss>

