<?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: Creating a Splunk Alert off failed ssh pattern in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Creating-a-Splunk-Alert-off-failed-ssh-pattern/m-p/191575#M3279</link>
    <description>&lt;P&gt;Try this search, where &lt;CODE&gt;XYZ&lt;/CODE&gt; is the name of your sourcetype&lt;/P&gt;

&lt;P&gt;sourcetype=XYZ "authentication failure" &lt;/P&gt;

&lt;P&gt;Then save it as an alert with the following characteristics&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;choose Real-time search&lt;/LI&gt;
&lt;LI&gt;Under "trigger condition," choose &lt;CODE&gt;Number of hosts&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Set "Greater than 2"&lt;/LI&gt;
&lt;LI&gt;In "5 minutes"&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Here are the docs: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.1/Alert/Definerolling-windowalerts"&gt;Define rolling-window alerts&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jun 2014 22:49:02 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2014-06-06T22:49:02Z</dc:date>
    <item>
      <title>Creating a Splunk Alert off failed ssh pattern</title>
      <link>https://community.splunk.com/t5/Alerting/Creating-a-Splunk-Alert-off-failed-ssh-pattern/m-p/191574#M3278</link>
      <description>&lt;P&gt;Hi All... &lt;/P&gt;

&lt;P&gt;I am trying to figure out how to generate a alert if the same IP address fails SSH authentication on multiple sources (hosts). &lt;/P&gt;

&lt;P&gt;Example Data&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Jun  5 08:26:55 clunker-aus sshd[4087]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=140.22.0.186  user=monitor
Jun  5 08:26:55 webserver-aus sshd[4089]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=140.22.0.186  user=root
Jun  5 08:26:55 server1 sshd[4090]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=140.22.0.186  user=root
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How would I create an alert for a pattern matching this in lets say a 5 minute window against 3 or more hosts?&lt;/P&gt;

&lt;P&gt;Thanks in advance &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2014 21:02:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Creating-a-Splunk-Alert-off-failed-ssh-pattern/m-p/191574#M3278</guid>
      <dc:creator>technick</dc:creator>
      <dc:date>2014-06-06T21:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Splunk Alert off failed ssh pattern</title>
      <link>https://community.splunk.com/t5/Alerting/Creating-a-Splunk-Alert-off-failed-ssh-pattern/m-p/191575#M3279</link>
      <description>&lt;P&gt;Try this search, where &lt;CODE&gt;XYZ&lt;/CODE&gt; is the name of your sourcetype&lt;/P&gt;

&lt;P&gt;sourcetype=XYZ "authentication failure" &lt;/P&gt;

&lt;P&gt;Then save it as an alert with the following characteristics&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;choose Real-time search&lt;/LI&gt;
&lt;LI&gt;Under "trigger condition," choose &lt;CODE&gt;Number of hosts&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Set "Greater than 2"&lt;/LI&gt;
&lt;LI&gt;In "5 minutes"&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Here are the docs: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.1/Alert/Definerolling-windowalerts"&gt;Define rolling-window alerts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2014 22:49:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Creating-a-Splunk-Alert-off-failed-ssh-pattern/m-p/191575#M3279</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-06-06T22:49:02Z</dc:date>
    </item>
  </channel>
</rss>

