<?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: How to generate a splunk alert for missing file? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-generate-a-splunk-alert-for-missing-file/m-p/588998#M13593</link>
    <description>&lt;P&gt;The answer depends on the results you want.&amp;nbsp; To just find out that a file is missing then count the files you have and alert if that number is less than what is expected.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=foo
| stats dc(source) as fileCount
| where fileCount &amp;lt; 50&lt;/LI-CODE&gt;&lt;P&gt;If, OTOH, you need to know &lt;STRONG&gt;which&lt;/STRONG&gt; file is missing then you have more work to do.&amp;nbsp;&amp;nbsp;Finding something that is not there is not Splunk's strong suit.&amp;nbsp; See this blog entry for a good write-up on it.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.duanewaddle.com/proving-a-negative/" target="_blank"&gt;https://www.duanewaddle.com/proving-a-negative/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Mar 2022 00:29:39 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-03-15T00:29:39Z</dc:date>
    <item>
      <title>How to generate a splunk alert for missing file?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-generate-a-splunk-alert-for-missing-file/m-p/588988#M13592</link>
      <description>&lt;P&gt;My requirement is to generate alert if no file received within cut off time for set of files say around 50. I want o avoid creating alert for each file. Please suggest me the best approach&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 21:28:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-generate-a-splunk-alert-for-missing-file/m-p/588988#M13592</guid>
      <dc:creator>pradeepkm</dc:creator>
      <dc:date>2022-03-14T21:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a splunk alert for missing file?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-generate-a-splunk-alert-for-missing-file/m-p/588998#M13593</link>
      <description>&lt;P&gt;The answer depends on the results you want.&amp;nbsp; To just find out that a file is missing then count the files you have and alert if that number is less than what is expected.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=foo
| stats dc(source) as fileCount
| where fileCount &amp;lt; 50&lt;/LI-CODE&gt;&lt;P&gt;If, OTOH, you need to know &lt;STRONG&gt;which&lt;/STRONG&gt; file is missing then you have more work to do.&amp;nbsp;&amp;nbsp;Finding something that is not there is not Splunk's strong suit.&amp;nbsp; See this blog entry for a good write-up on it.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.duanewaddle.com/proving-a-negative/" target="_blank"&gt;https://www.duanewaddle.com/proving-a-negative/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 00:29:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-generate-a-splunk-alert-for-missing-file/m-p/588998#M13593</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-03-15T00:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a splunk alert for missing file?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-generate-a-splunk-alert-for-missing-file/m-p/588999#M13594</link>
      <description>&lt;P&gt;My use case is I have different file names and I need to alert support team if the particular file not received within cutoff&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 01:16:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-generate-a-splunk-alert-for-missing-file/m-p/588999#M13594</guid>
      <dc:creator>pradeepkm</dc:creator>
      <dc:date>2022-03-15T01:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a splunk alert for missing file?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-generate-a-splunk-alert-for-missing-file/m-p/589690#M13621</link>
      <description>&lt;P&gt;Thanks the solution in the blog worked.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 12:43:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-generate-a-splunk-alert-for-missing-file/m-p/589690#M13621</guid>
      <dc:creator>pradeepkm</dc:creator>
      <dc:date>2022-03-18T12:43:48Z</dc:date>
    </item>
  </channel>
</rss>

