<?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: Create an event for user login to VPN and the network in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Create-an-event-for-user-login-to-VPN-and-the-network/m-p/351817#M64514</link>
    <description>&lt;P&gt;If you can post non-confidential samples of searches that return a LAN logon, and a VPN logon, we can get closer, but here's a version in pseudocode...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;( index=fooLAN sourcetype=LANsource "whatever other stuff that shows LAN logons") OR
( index=fooVPN sourcetype=VPNsource "whatever other stuff that shows VPN logons")
| bin _time as mytime span=10m
| eval userid=coalesce(LANUseridField,VPNUseridField)
| eval mytype=if(sourcetype=LANsource,"LAN","VPN")
| stats  range(_time) as timerange, min(_time) as startTime, max(_time) as endTime values(mytype) as mytype by mytime userid
| where (mvcount(mytype) &amp;gt;1)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 27 Apr 2017 22:13:04 GMT</pubDate>
    <dc:creator>DalJeanis</dc:creator>
    <dc:date>2017-04-27T22:13:04Z</dc:date>
    <item>
      <title>Create an event for user login to VPN and the network</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-an-event-for-user-login-to-VPN-and-the-network/m-p/351816#M64513</link>
      <description>&lt;P&gt;I'm new at creating Splunk searches and events.  I would like a Notable Event to alert whenever an employee login is detected on the network and the VPN at the same time.   I read that this can be done with a sub-search, but I'm having trouble creating the search query.  Any suggestions would be greatly appreciated.  &lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 13:39:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-an-event-for-user-login-to-VPN-and-the-network/m-p/351816#M64513</guid>
      <dc:creator>aschroeder</dc:creator>
      <dc:date>2017-04-27T13:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create an event for user login to VPN and the network</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Create-an-event-for-user-login-to-VPN-and-the-network/m-p/351817#M64514</link>
      <description>&lt;P&gt;If you can post non-confidential samples of searches that return a LAN logon, and a VPN logon, we can get closer, but here's a version in pseudocode...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;( index=fooLAN sourcetype=LANsource "whatever other stuff that shows LAN logons") OR
( index=fooVPN sourcetype=VPNsource "whatever other stuff that shows VPN logons")
| bin _time as mytime span=10m
| eval userid=coalesce(LANUseridField,VPNUseridField)
| eval mytype=if(sourcetype=LANsource,"LAN","VPN")
| stats  range(_time) as timerange, min(_time) as startTime, max(_time) as endTime values(mytype) as mytype by mytime userid
| where (mvcount(mytype) &amp;gt;1)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Apr 2017 22:13:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Create-an-event-for-user-login-to-VPN-and-the-network/m-p/351817#M64514</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-04-27T22:13:04Z</dc:date>
    </item>
  </channel>
</rss>

