<?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 Dashboard outputting pattern in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-outputting-pattern/m-p/350871#M22852</link>
    <description>&lt;P&gt;I have events that are statuses of cameras. I want to create a panel that outputs the names of the cameras whose status="Never_Checked" or "No_Images for three days in a row. For example, if camera 1A was never checked on 8/1, 8/2, and 8/3, 1A will be added to a list. Is this possible?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 15:13:44 GMT</pubDate>
    <dc:creator>sarahw3</dc:creator>
    <dc:date>2020-09-29T15:13:44Z</dc:date>
    <item>
      <title>Dashboard outputting pattern</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-outputting-pattern/m-p/350871#M22852</link>
      <description>&lt;P&gt;I have events that are statuses of cameras. I want to create a panel that outputs the names of the cameras whose status="Never_Checked" or "No_Images for three days in a row. For example, if camera 1A was never checked on 8/1, 8/2, and 8/3, 1A will be added to a list. Is this possible?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:13:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-outputting-pattern/m-p/350871#M22852</guid>
      <dc:creator>sarahw3</dc:creator>
      <dc:date>2020-09-29T15:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard outputting pattern</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-outputting-pattern/m-p/350872#M22853</link>
      <description>&lt;P&gt;try this&lt;/P&gt;

&lt;P&gt;index=xx sourcetype=xxx earliest=-3d@d latest=now status="Never_Checked" OR status="No_Images" | table camera status&lt;/P&gt;

&lt;P&gt;I hope status field got extracted from events.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:13:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-outputting-pattern/m-p/350872#M22853</guid>
      <dc:creator>sbbadri</dc:creator>
      <dc:date>2020-09-29T15:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard outputting pattern</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-outputting-pattern/m-p/350873#M22854</link>
      <description>&lt;P&gt;It is not showing any events.  This could be because I have only put in up to April 2017 this year into splunk. Is there a way I can make it looks at the 3 days before the date that is selected?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 18:36:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-outputting-pattern/m-p/350873#M22854</guid>
      <dc:creator>sarahw3</dc:creator>
      <dc:date>2017-08-03T18:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard outputting pattern</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-outputting-pattern/m-p/350874#M22855</link>
      <description>&lt;P&gt;can you post one sample event&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 20:16:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-outputting-pattern/m-p/350874#M22855</guid>
      <dc:creator>sbbadri</dc:creator>
      <dc:date>2017-08-03T20:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard outputting pattern</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-outputting-pattern/m-p/350875#M22856</link>
      <description>&lt;P&gt;Let's make it flexible.  If you select &lt;CODE&gt;Last 3 days&lt;/CODE&gt; then this will check for 3 days as you desire but if you change the timepicker, it will shift.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|gentimes start=-4
| rename starttime AS _time
| fields _time
| streamstats count AS _serial
| eval host="camera1 camera2 camera3 camera4 camera5"
| makemv host
| mvexpand host
| eval status=case(host="camera5", "OK",
                   host="camera1", "Never_Checked",
                   host="camera2", "No_Images",
                   _serial=1, "Never_Checked",
                   _serial=2, "No_Images",
                   _serial=3 AND host="camera3", "No_Images",
                   _serial=3 AND host="camera4", "OK",
                   true(), "No_Images")

| rename COMMENT AS "Everything above generates sample event data; everything below is your solution"

| stats values(status) AS status dc(status) AS statusCount BY host
| where (statusCount=1 AND (status="Never_Checked" OR status="No_Images")) OR (statusCount=2 AND status="Never_Checked" AND status="No_Images")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Sep 2017 01:06:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dashboard-outputting-pattern/m-p/350875#M22856</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-09-05T01:06:19Z</dc:date>
    </item>
  </channel>
</rss>

