<?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 How create a search that should map a session from an internal application to the corresponding VPN session? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-create-a-search-that-should-map-a-session-from-an-internal/m-p/591268#M205841</link>
    <description>&lt;P&gt;Hey guys,&lt;/P&gt;
&lt;P&gt;I`m trying to create a search that should map a session from an internal application to the corresponding VPN session.&lt;/P&gt;
&lt;P&gt;Main search - fields: IP_ADDRESS, USER_AD, _time - internal application login sessions.&lt;/P&gt;
&lt;P&gt;Sub search - fields: Framed_IP_Address, User_Name, _time - VPN allocating internal IP.&lt;/P&gt;
&lt;P&gt;My goal is to check whether users are using their AD account to log into application or not.&lt;/P&gt;
&lt;P&gt;The problem right now is that field USER_AD is not displayed in the table and I was wondering why it is happening and how could I remediate that.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=tkrsec sourcetype="cisco:acs" Acct_Status_Type=Interim-Update earliest=-8h latest=-1m
[ search index=tkrsec host=Hercules_fusion
| rename IP_ADDRESS as Framed_IP_Address
| table Framed_IP_Address ]
| eval time1=strftime(_time, "%m/%d/%y %I:%M:%S:%p")
| table User_Name,Acct_Status_Type,Framed_IP_Address,time1
| join type=outer USER_AD
[ search index=tkrsec host=Hercules_fusion
| eval time2=strftime(_time, "%m/%d/%y %I:%M:%S:%p")
| table time2,USER_AD ]
| table User_Name,Acct_Status_Type,Framed_IP_Address,time1, USER_AD, time2&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Mar 2022 16:15:52 GMT</pubDate>
    <dc:creator>alexandrucrc</dc:creator>
    <dc:date>2022-03-29T16:15:52Z</dc:date>
    <item>
      <title>How create a search that should map a session from an internal application to the corresponding VPN session?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-create-a-search-that-should-map-a-session-from-an-internal/m-p/591268#M205841</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;
&lt;P&gt;I`m trying to create a search that should map a session from an internal application to the corresponding VPN session.&lt;/P&gt;
&lt;P&gt;Main search - fields: IP_ADDRESS, USER_AD, _time - internal application login sessions.&lt;/P&gt;
&lt;P&gt;Sub search - fields: Framed_IP_Address, User_Name, _time - VPN allocating internal IP.&lt;/P&gt;
&lt;P&gt;My goal is to check whether users are using their AD account to log into application or not.&lt;/P&gt;
&lt;P&gt;The problem right now is that field USER_AD is not displayed in the table and I was wondering why it is happening and how could I remediate that.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=tkrsec sourcetype="cisco:acs" Acct_Status_Type=Interim-Update earliest=-8h latest=-1m
[ search index=tkrsec host=Hercules_fusion
| rename IP_ADDRESS as Framed_IP_Address
| table Framed_IP_Address ]
| eval time1=strftime(_time, "%m/%d/%y %I:%M:%S:%p")
| table User_Name,Acct_Status_Type,Framed_IP_Address,time1
| join type=outer USER_AD
[ search index=tkrsec host=Hercules_fusion
| eval time2=strftime(_time, "%m/%d/%y %I:%M:%S:%p")
| table time2,USER_AD ]
| table User_Name,Acct_Status_Type,Framed_IP_Address,time1, USER_AD, time2&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 16:15:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-create-a-search-that-should-map-a-session-from-an-internal/m-p/591268#M205841</guid>
      <dc:creator>alexandrucrc</dc:creator>
      <dc:date>2022-03-29T16:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Join/Table issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-create-a-search-that-should-map-a-session-from-an-internal/m-p/591273#M205842</link>
      <description>&lt;P&gt;USER_AD is not listed in the first table command so is not available for the subsequence join.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 14:27:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-create-a-search-that-should-map-a-session-from-an-internal/m-p/591273#M205842</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-29T14:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Join/Table issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-create-a-search-that-should-map-a-session-from-an-internal/m-p/591289#M205846</link>
      <description>&lt;P&gt;I did what you`re suggesting but it did not work that is how I ended using join command. Do you have any idea how to add that field to the table and actually be displayed in the table.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 15:19:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-create-a-search-that-should-map-a-session-from-an-internal/m-p/591289#M205846</guid>
      <dc:creator>alexandrucrc</dc:creator>
      <dc:date>2022-03-29T15:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Join/Table issues</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-create-a-search-that-should-map-a-session-from-an-internal/m-p/591292#M205847</link>
      <description>&lt;P&gt;Perhaps if you share some anonymised events from your searches we might be able to understand what it is you are trying to deal with; working from your searches without a view of the data is like working with one hand tied behind your back!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 15:31:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-create-a-search-that-should-map-a-session-from-an-internal/m-p/591292#M205847</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-03-29T15:31:12Z</dc:date>
    </item>
  </channel>
</rss>

