<?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: How to extract fields from /services/authentication/current-context? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427435#M122397</link>
    <description>&lt;P&gt;You'll need a secondary data source, e.g. &lt;CODE&gt;ldapsearch&lt;/CODE&gt;, to retrieve that information, use the username returned by current-context as a filter.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/1151/"&gt;https://splunkbase.splunk.com/app/1151/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jun 2018 09:08:38 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2018-06-04T09:08:38Z</dc:date>
    <item>
      <title>How to extract fields from /services/authentication/current-context?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427431#M122393</link>
      <description>&lt;P&gt;Hello all,&lt;BR /&gt;
The command &lt;BR /&gt;
&lt;CODE&gt;| rest /services/authentication/current-context&lt;/CODE&gt; &lt;BR /&gt;
will return some fields like username, email, realname, etc..&lt;BR /&gt;
I want to get other fields on LDAP like Telephone Number, SIP address, etc..&lt;BR /&gt;
Is it possible?&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 03:16:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427431#M122393</guid>
      <dc:creator>Cbr1sg</dc:creator>
      <dc:date>2018-06-04T03:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from /services/authentication/current-context?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427432#M122394</link>
      <description>&lt;P&gt;Well, you can always define regular expressions to fetch needed field value, are you looking to extract ALL fields automatically? There is limitations on that&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 08:43:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427432#M122394</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2018-06-04T08:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from /services/authentication/current-context?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427433#M122395</link>
      <description>&lt;P&gt;I want to get these 2 fields SipAddress and Phone, could you please advise what regex to use and where can I apply it? &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 08:59:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427433#M122395</guid>
      <dc:creator>Cbr1sg</dc:creator>
      <dc:date>2018-06-04T08:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from /services/authentication/current-context?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427434#M122396</link>
      <description>&lt;P&gt;can you post a sample of your events as they appear in splunk?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:03:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427434#M122396</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2018-06-04T09:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from /services/authentication/current-context?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427435#M122397</link>
      <description>&lt;P&gt;You'll need a secondary data source, e.g. &lt;CODE&gt;ldapsearch&lt;/CODE&gt;, to retrieve that information, use the username returned by current-context as a filter.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/1151/"&gt;https://splunkbase.splunk.com/app/1151/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:08:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427435#M122397</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-06-04T09:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from /services/authentication/current-context?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427436#M122398</link>
      <description>&lt;P&gt;I think you might have misunderstood my question, and sorry as I wasn't clear enough.&lt;/P&gt;

&lt;P&gt;I want to get additional information which does NOT exist in current-context,&lt;BR /&gt;
When the user authenticates using LDAP username/password, Splunk does the ldap lookup and returns some of standard fields like username, email, realname, etc..&lt;BR /&gt;
Besides those fields, i want to get something else which is missing, for example Phone and SipAddress&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:24:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427436#M122398</guid>
      <dc:creator>Cbr1sg</dc:creator>
      <dc:date>2018-06-04T09:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from /services/authentication/current-context?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427437#M122399</link>
      <description>&lt;P&gt;i already looked into this, unfortunately my server is linux so this solution is not compatible, do you have other suggestion for linux? Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:25:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427437#M122399</guid>
      <dc:creator>Cbr1sg</dc:creator>
      <dc:date>2018-06-04T09:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from /services/authentication/current-context?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427438#M122400</link>
      <description>&lt;P&gt;SA-ldapsearch runs on linux splunk servers.&lt;/P&gt;

&lt;P&gt;If you don't have AD, consider &lt;A href="https://splunkbase.splunk.com/app/3872/"&gt;https://splunkbase.splunk.com/app/3872/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 09:25:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427438#M122400</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-06-04T09:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from /services/authentication/current-context?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427439#M122401</link>
      <description>&lt;P&gt;after tried again, i finally made this works. Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 06:50:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-services-authentication-current/m-p/427439#M122401</guid>
      <dc:creator>Cbr1sg</dc:creator>
      <dc:date>2018-06-05T06:50:39Z</dc:date>
    </item>
  </channel>
</rss>

