<?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 with different bar color in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timechart-with-different-bar-color/m-p/454394#M128572</link>
    <description>&lt;P&gt;My splunk query is &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=abc "Server started successfully"  OR "Get Operation" OR "POST operation" OR "Error occurred"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to get a timechart which shows when each these events occurred. Probably bar having a different color for each event or any other way which lets me identify if there was any "Get Operation" OR "POST Operation"  between  "Server started successfully" and "Error occurred"&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2019 19:10:23 GMT</pubDate>
    <dc:creator>pankajad</dc:creator>
    <dc:date>2019-07-02T19:10:23Z</dc:date>
    <item>
      <title>Timechart with different bar color</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-with-different-bar-color/m-p/454394#M128572</link>
      <description>&lt;P&gt;My splunk query is &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=abc "Server started successfully"  OR "Get Operation" OR "POST operation" OR "Error occurred"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to get a timechart which shows when each these events occurred. Probably bar having a different color for each event or any other way which lets me identify if there was any "Get Operation" OR "POST Operation"  between  "Server started successfully" and "Error occurred"&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 19:10:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-with-different-bar-color/m-p/454394#M128572</guid>
      <dc:creator>pankajad</dc:creator>
      <dc:date>2019-07-02T19:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart with different bar color</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timechart-with-different-bar-color/m-p/454395#M128573</link>
      <description>&lt;P&gt;Not the cleanest but I should work to get a timechart counting the number of occurrences for each:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval result = case(like(_raw, "%Server started successfully%"),"Server started successfully",like(_raw, "%Get Operation%"),"Get Operation",like(_raw, "%POST operation%"),"POST operation",like(_raw, "%Error occurred%"),"Error occurred")
| timechart count(_raw) by result
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Jul 2019 17:31:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timechart-with-different-bar-color/m-p/454395#M128573</guid>
      <dc:creator>aohls</dc:creator>
      <dc:date>2019-07-03T17:31:29Z</dc:date>
    </item>
  </channel>
</rss>

