<?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: Phone Home Error Not Alerting Properly in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Phone-Home-Error-Not-Alerting-Properly/m-p/343291#M6055</link>
    <description>&lt;P&gt;I suppose I misunderstood what metadata is used for. Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jul 2017 14:54:03 GMT</pubDate>
    <dc:creator>drizzo</dc:creator>
    <dc:date>2017-07-31T14:54:03Z</dc:date>
    <item>
      <title>Phone Home Error Not Alerting Properly</title>
      <link>https://community.splunk.com/t5/Alerting/Phone-Home-Error-Not-Alerting-Properly/m-p/343288#M6052</link>
      <description>&lt;P&gt;So, I have my Phone Home Error search; when I type it into the Search Bar, it pulls up all hosts not connected. However, when I try to set it up as an alert, it will only send out an Alert for the first one that disconnected. I have it Throttled, but for suppressing those with the same host.&lt;/P&gt;

&lt;P&gt;Also, over time, it will stop pulling computers that have been disconnected from the server for more than 7 days. The only way to get them is to do an &lt;EM&gt;All Time&lt;/EM&gt; search (using the search string from the alert).&lt;/P&gt;

&lt;P&gt;I'm a little lost, and would be thankful for any guidance. Thanks.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;My Search:&lt;/STRONG&gt;  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts index=_internal | eval age=now()-recentTime | where age &amp;gt; 300 | eval "Time Indexed"=strftime(_time, "%Y/%d/%m %H:%M") | eval "Computer Host"=host | eval "Time Last Connected"=tostring(age, "duration") | eval "Date Last Connected"=strftime=)recentTime, ""%+") | table "Computer Host", "Time Last Connected", "Date Last Connected"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;My Alert Settings:&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3299i1BBE17D6D179EF64/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 13:54:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Phone-Home-Error-Not-Alerting-Properly/m-p/343288#M6052</guid>
      <dc:creator>drizzo</dc:creator>
      <dc:date>2017-07-31T13:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Phone Home Error Not Alerting Properly</title>
      <link>https://community.splunk.com/t5/Alerting/Phone-Home-Error-Not-Alerting-Properly/m-p/343289#M6053</link>
      <description>&lt;P&gt;Try to change query like below,&lt;/P&gt;

&lt;P&gt;| inputlookup dmc_forwarder_assets&lt;BR /&gt;
| search status="missing" AND os="Windows"&lt;BR /&gt;
| fields hostname os arch forwarder_type version last_connected status &lt;BR /&gt;
| rename hostname as Instance &lt;BR /&gt;
| eval now=now() | eval Duration_Not_Connected=now-last_connected | where Duration_Not_Connected&amp;lt;=2592000 | fields - last_connected now | sort Duration_Not_Connected | eval Duration_Not_Connected_Days = round(Duration_Not_Connected/86400,0)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:09:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Phone-Home-Error-Not-Alerting-Properly/m-p/343289#M6053</guid>
      <dc:creator>sbbadri</dc:creator>
      <dc:date>2020-09-29T15:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Phone Home Error Not Alerting Properly</title>
      <link>https://community.splunk.com/t5/Alerting/Phone-Home-Error-Not-Alerting-Properly/m-p/343290#M6054</link>
      <description>&lt;P&gt;Generally, when using the &lt;CODE&gt;metadata&lt;/CODE&gt; command for something like this, you should be using &lt;CODE&gt;All time&lt;/CODE&gt; for your search span.  The way that &lt;CODE&gt;metadata&lt;/CODE&gt; works is to go to buckets written within your span and give you a summary of that  If you limit your search's time to a window that does not include any buckets, then you will get no summary, which is NOT what you need.  So set it to &lt;CODE&gt;All time&lt;/CODE&gt; (or a REALLY long time) and do not at all be concerned that you are doing a deep/expensive search, because for this particular command, you definitely are not because like &lt;CODE&gt;tstats&lt;/CODE&gt;, it is operating on the metadata.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 14:27:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Phone-Home-Error-Not-Alerting-Properly/m-p/343290#M6054</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-07-31T14:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Phone Home Error Not Alerting Properly</title>
      <link>https://community.splunk.com/t5/Alerting/Phone-Home-Error-Not-Alerting-Properly/m-p/343291#M6055</link>
      <description>&lt;P&gt;I suppose I misunderstood what metadata is used for. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 14:54:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Phone-Home-Error-Not-Alerting-Properly/m-p/343291#M6055</guid>
      <dc:creator>drizzo</dc:creator>
      <dc:date>2017-07-31T14:54:03Z</dc:date>
    </item>
  </channel>
</rss>

