<?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: Notify when data ingestion is stopped in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-with-query-to-notify-when-data-ingestion-is-stopped/m-p/602400#M209677</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thanks for your response.&lt;/P&gt;&lt;P&gt;If in case , we should trigger only it does not brings data for 1 hour, What will the query?&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2022 11:38:14 GMT</pubDate>
    <dc:creator>smanojkumar</dc:creator>
    <dc:date>2022-06-20T11:38:14Z</dc:date>
    <item>
      <title>Help with query to notify when data ingestion is stopped</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-query-to-notify-when-data-ingestion-is-stopped/m-p/602396#M209675</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smanojkumar_0-1655721402351.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20174i3FDE7389495A3246/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smanojkumar_0-1655721402351.png" alt="smanojkumar_0-1655721402351.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Query to find when host is stopped,&amp;nbsp;&lt;BR /&gt;Here as mentioned in picture, the field _time stopped at the time , when the host is stopped and it's back to normal, when host is started . So need to trigger alert when host is stopped.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 17:02:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-query-to-notify-when-data-ingestion-is-stopped/m-p/602396#M209675</guid>
      <dc:creator>smanojkumar</dc:creator>
      <dc:date>2022-06-21T17:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Notify when data ingestion is stopped</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-query-to-notify-when-data-ingestion-is-stopped/m-p/602397#M209676</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236500"&gt;@smanojkumar&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;my hint is to create a simple alert like the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| metasearch index=ps host="*sapgut301*" process_exec=masvc | head 1&lt;/LI-CODE&gt;&lt;P&gt;scheduling it every 5 minuts, triggered if results=0.&lt;/P&gt;&lt;P&gt;It's a very quick search that you can run also with an higher frequency.&lt;/P&gt;&lt;P&gt;If instead you want to know if there's one host missing, it's a little bit different, because you need to have a list of host to monitor and put them in a lookup (called e.g. perimeter.csv) containing at least one column (called host) and scheduling a search like the following e.g. every 5 minutes:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| metasearch index=ps host="*sapgut301*" process_exec=masvc
| eval host=lower(host)
| stats count BY host
| append [ | inputlookup perimeter.csv | eval host=lower(host), count=0 | fields host count ]
| stats sum(count) AS total BY host
| where total=0&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 10:57:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-query-to-notify-when-data-ingestion-is-stopped/m-p/602397#M209676</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-20T10:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Notify when data ingestion is stopped</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-query-to-notify-when-data-ingestion-is-stopped/m-p/602400#M209677</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thanks for your response.&lt;/P&gt;&lt;P&gt;If in case , we should trigger only it does not brings data for 1 hour, What will the query?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 11:38:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-query-to-notify-when-data-ingestion-is-stopped/m-p/602400#M209677</guid>
      <dc:creator>smanojkumar</dc:creator>
      <dc:date>2022-06-20T11:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Notify when data ingestion is stopped</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-query-to-notify-when-data-ingestion-is-stopped/m-p/602408#M209680</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236500"&gt;@smanojkumar&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the query is the same, the thing to change are the Time Frame and the scheduling.&lt;/P&gt;&lt;P&gt;Anyway, I hint to use an high frequency (e.g. 5 minutes) because if you don't receive logs you're blind!&lt;/P&gt;&lt;P&gt;The minimum frequency depends on eventual delays you have in your data ingestion.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 12:17:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-query-to-notify-when-data-ingestion-is-stopped/m-p/602408#M209680</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-06-20T12:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Notify when data ingestion is stopped</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-query-to-notify-when-data-ingestion-is-stopped/m-p/602411#M209682</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;It's worked, Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2022 12:21:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-query-to-notify-when-data-ingestion-is-stopped/m-p/602411#M209682</guid>
      <dc:creator>smanojkumar</dc:creator>
      <dc:date>2022-06-20T12:21:32Z</dc:date>
    </item>
  </channel>
</rss>

