<?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: Visualization solution in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Visualization-solution/m-p/524656#M4790</link>
    <description>&lt;P&gt;Not Brian here, but anyways &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Can you copy&amp;amp;paste your SPL and the whole error message? The only 2 evals in my example are pretty straight forward, not sure what could have gone wrong.&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Ralph aka Brian&lt;/P&gt;</description>
    <pubDate>Wed, 14 Oct 2020 14:44:05 GMT</pubDate>
    <dc:creator>rnowitzki</dc:creator>
    <dc:date>2020-10-14T14:44:05Z</dc:date>
    <item>
      <title>Visualization solution</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Visualization-solution/m-p/524578#M4785</link>
      <description>&lt;P&gt;I am new to splunk administration. may someone help with a query that gives both reporting and non-reporting devices in the last 1 hour and be able to show both on a pie-chart&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 10:17:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Visualization-solution/m-p/524578#M4785</guid>
      <dc:creator>waJesu</dc:creator>
      <dc:date>2020-10-14T10:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Visualization solution</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Visualization-solution/m-p/524595#M4786</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/227069"&gt;@waJesu&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;You would need some base to start from. Splunk doesn't really know what's&lt;STRONG&gt; not&lt;/STRONG&gt; there.&lt;BR /&gt;There are different approaches for this. I'll give you two:&lt;/P&gt;&lt;P&gt;1. Compare the devices that reported in the last 24h with the ones that reported in the last 1h&lt;BR /&gt;2. Maintain a Lookup table with all the devices that should report and compare this with the ones that reported in the last 1h.&lt;BR /&gt;&lt;BR /&gt;To help you with the SPL, it would be helpful to see some example data. What kind of devices are in the logs, how do you determine that they are reporting? Do you look for any kind of log from each host(?) or do you expect some specific logline?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Ralph&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 11:24:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Visualization-solution/m-p/524595#M4786</guid>
      <dc:creator>rnowitzki</dc:creator>
      <dc:date>2020-10-14T11:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Visualization solution</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Visualization-solution/m-p/524598#M4787</link>
      <description>&lt;P&gt;Thanks Ralph. Would you help with the search query for the reporting devices&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 11:36:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Visualization-solution/m-p/524598#M4787</guid>
      <dc:creator>waJesu</dc:creator>
      <dc:date>2020-10-14T11:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Visualization solution</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Visualization-solution/m-p/524602#M4788</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/227069"&gt;@waJesu&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;well, it really depends on your data.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But to give you an example.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=&amp;lt;yourindex&amp;gt;  earliest=-24h latest=now 
| stats count  by device | eval day="yes"
| appendcols  [search index=&amp;lt;yourindex&amp;gt;  earliest=-1h latest=now 
| stats count  by device| eval hour="yes"]
| eval status=if(hour="yes","Up","Missing")
| fields - hour, day, count
| stats count by status&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;This will give you the pure count of "missing" and "up" devices based on a 24h vs 1h compare. In the visualization tab you would select pie chart and your done.&lt;BR /&gt;&lt;BR /&gt;You have to set the index to match your data and also you probably have to change "device" to whatever field your "device" name is stored in. Maybe "host"?&lt;BR /&gt;&lt;BR /&gt;If you remove the last line, you see which devices are missing/up.&lt;BR /&gt;&lt;BR /&gt;Hope it gives you an idea.&lt;BR /&gt;BR&lt;BR /&gt;Ralph&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 12:13:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Visualization-solution/m-p/524602#M4788</guid>
      <dc:creator>rnowitzki</dc:creator>
      <dc:date>2020-10-14T12:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Visualization solution</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Visualization-solution/m-p/524654#M4789</link>
      <description>&lt;P&gt;Hey Brian. I am not sure why it's returning&amp;nbsp; Error in "eval" command: The expression is malformed. Expected&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 14:38:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Visualization-solution/m-p/524654#M4789</guid>
      <dc:creator>waJesu</dc:creator>
      <dc:date>2020-10-14T14:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Visualization solution</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Visualization-solution/m-p/524656#M4790</link>
      <description>&lt;P&gt;Not Brian here, but anyways &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Can you copy&amp;amp;paste your SPL and the whole error message? The only 2 evals in my example are pretty straight forward, not sure what could have gone wrong.&lt;BR /&gt;&lt;BR /&gt;BR&lt;BR /&gt;Ralph aka Brian&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 14:44:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Visualization-solution/m-p/524656#M4790</guid>
      <dc:creator>rnowitzki</dc:creator>
      <dc:date>2020-10-14T14:44:05Z</dc:date>
    </item>
  </channel>
</rss>

