<?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: Alert on user with different src address in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28640#M5699</link>
    <description>&lt;P&gt;While this should work, using &lt;CODE&gt;transaction&lt;/CODE&gt; is a pretty inefficient approach for this particular case. Much better to use &lt;CODE&gt;stats&lt;/CODE&gt; as ziegfried suggests.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2011 23:21:00 GMT</pubDate>
    <dc:creator>southeringtonp</dc:creator>
    <dc:date>2011-06-15T23:21:00Z</dc:date>
    <item>
      <title>Alert on user with different src address</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28637#M5696</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
    I'm trying to setup an alert that fires when a user tries to log in from more than one src ip address within the last 24 hours. &lt;/P&gt;

&lt;P&gt;My base search looks like index=myindex product=myvpnappliance&lt;/P&gt;

&lt;P&gt;Src ip's and user fields are extracted automatically.&lt;/P&gt;

&lt;P&gt;I've tried different searches to no effect. Can anybody please help?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 17:33:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28637#M5696</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2011-06-15T17:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alert on user with different src address</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28638#M5697</link>
      <description>&lt;P&gt;what about?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=myindex product=myvpnappliance | transaction username maxspan=24h | where mvcount(src_ip) &amp;gt; 1 | table username src_ip
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Jun 2011 17:38:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28638#M5697</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2011-06-15T17:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Alert on user with different src address</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28639#M5698</link>
      <description>&lt;P&gt;this might be more efficient:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=myindex product=myvpnappliance | stats dc(src_ip) as src_ip_count by username | where src_ip_count&amp;gt;1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Jun 2011 17:46:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28639#M5698</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2011-06-15T17:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Alert on user with different src address</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28640#M5699</link>
      <description>&lt;P&gt;While this should work, using &lt;CODE&gt;transaction&lt;/CODE&gt; is a pretty inefficient approach for this particular case. Much better to use &lt;CODE&gt;stats&lt;/CODE&gt; as ziegfried suggests.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 23:21:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28640#M5699</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2011-06-15T23:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alert on user with different src address</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28641#M5700</link>
      <description>&lt;P&gt;Both appear to work, i still need to figure out how to setup an alert to fire when the source ip count for any user is greater than 1. &lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2011 12:13:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28641#M5700</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2011-06-16T12:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alert on user with different src address</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28642#M5701</link>
      <description>&lt;P&gt;i am not sure what you mean but you just need click to create alert below this search.&lt;BR /&gt;
And Ziegfried search is the one to use as it is more efficient&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2011 12:25:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28642#M5701</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2011-06-16T12:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Alert on user with different src address</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28643#M5702</link>
      <description>&lt;P&gt;I understand the search and it does work, i also understand how to create alerts, since i have created them before. However, when i choose to create the alert, i only get three conditions: if number of events, hosts, source, and a custom condition. For now i'm just going to send an alert if that search returns any results, but ideally i would like an alert to fire as soon as a user is trying to connect from more than one unique src ip within a specified timeframe. I know this will require the search to run in real time and probably the use of a custom condition.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2011 13:28:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28643#M5702</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2011-06-16T13:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Alert on user with different src address</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28644#M5703</link>
      <description>&lt;P&gt;Choose &lt;EM&gt;if number of events is greater than 0&lt;/EM&gt; since you're already evaluating the condition in the search string.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2011 13:30:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Alert-on-user-with-different-src-address/m-p/28644#M5703</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2011-06-16T13:30:55Z</dc:date>
    </item>
  </channel>
</rss>

