<?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 Timeline creation using eval case function in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Timeline-creation-using-eval-case-function/m-p/563128#M46355</link>
    <description>&lt;P&gt;I am trying to make a timeline showing different response code ranges being defined. This is the eval I am using, and I want to add the 4 different categories into a timeline dashboard panel.&lt;BR /&gt;&lt;BR /&gt;index="stuff" sourcetype="things" src_ip="1.1.1.1" dest_ip="2.2.2.2"&lt;BR /&gt;| search TERM(attack_vector)&lt;BR /&gt;| eval Status = case(response_code&amp;gt;="400" OR response_code="0", "Blocked", response_code&amp;gt;="202" AND response_code&amp;lt;="226", "Partial", response_code&amp;gt;="300" AND response_code&amp;lt;="399", "Redirect", response_code="200" OR response_code="201", "Success")&lt;BR /&gt;&lt;BR /&gt;I cannot for the life of me figure out what I need to put in the "stats" and "table" portion to make it show a line for each of the created categories!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Aug 2021 00:26:02 GMT</pubDate>
    <dc:creator>Denorsmith</dc:creator>
    <dc:date>2021-08-13T00:26:02Z</dc:date>
    <item>
      <title>Timeline creation using eval case function</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Timeline-creation-using-eval-case-function/m-p/563128#M46355</link>
      <description>&lt;P&gt;I am trying to make a timeline showing different response code ranges being defined. This is the eval I am using, and I want to add the 4 different categories into a timeline dashboard panel.&lt;BR /&gt;&lt;BR /&gt;index="stuff" sourcetype="things" src_ip="1.1.1.1" dest_ip="2.2.2.2"&lt;BR /&gt;| search TERM(attack_vector)&lt;BR /&gt;| eval Status = case(response_code&amp;gt;="400" OR response_code="0", "Blocked", response_code&amp;gt;="202" AND response_code&amp;lt;="226", "Partial", response_code&amp;gt;="300" AND response_code&amp;lt;="399", "Redirect", response_code="200" OR response_code="201", "Success")&lt;BR /&gt;&lt;BR /&gt;I cannot for the life of me figure out what I need to put in the "stats" and "table" portion to make it show a line for each of the created categories!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 00:26:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Timeline-creation-using-eval-case-function/m-p/563128#M46355</guid>
      <dc:creator>Denorsmith</dc:creator>
      <dc:date>2021-08-13T00:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Timeline creation using eval case function</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Timeline-creation-using-eval-case-function/m-p/563142#M46356</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232949"&gt;@Denorsmith&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Please try below; (I also&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="stuff" sourcetype="things" src_ip="1.1.1.1" dest_ip="2.2.2.2" TERM(attack_vector)
| eval Status = case(response_code&amp;gt;="400" OR response_code="0", "Blocked", response_code&amp;gt;="202" AND response_code&amp;lt;="226", "Partial", response_code&amp;gt;="300" AND response_code&amp;lt;="399", "Redirect", response_code="200" OR response_code="201", "Success")
| timechart count by Status&lt;/LI-CODE&gt;&lt;P&gt;removed search term before TERM for faster results)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 05:06:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Timeline-creation-using-eval-case-function/m-p/563142#M46356</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-08-13T05:06:59Z</dc:date>
    </item>
  </channel>
</rss>

