<?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: Authentication extraction for Unix add-on and Enterprise Security (tested un Ubuntu Linux) in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Authentication-extraction-for-Unix-add-on-and-Enterprise/m-p/120901#M300</link>
    <description>&lt;P&gt;The answer is in the question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2015 21:15:47 GMT</pubDate>
    <dc:creator>mdessus_splunk</dc:creator>
    <dc:date>2015-04-01T21:15:47Z</dc:date>
    <item>
      <title>Authentication extraction for Unix add-on and Enterprise Security (tested un Ubuntu Linux)</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Authentication-extraction-for-Unix-add-on-and-Enterprise/m-p/120900#M299</link>
      <description>&lt;P&gt;For the ones who use the Unix addon for extracting authentication events for Enterprise Security, and some events are not recognized, mainly on Ubuntu Linux (not tested on other distribs), here's the one I've added. Feel free to correct/complement them.&lt;/P&gt;

&lt;P&gt;To be added in &lt;EM&gt;etc/apps/Splunk_TA_nix/local/props.conf&lt;/EM&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/var/log/auth.log]
EXTRACT-app_and_dest = ^\w+ +\d+ \d\d:\d\d:\d\d (?&amp;lt;dest&amp;gt;\w+) (?&amp;lt;app&amp;gt;\S+)\[\d+\]
EXTRACT-ssh_details = (?&amp;lt;vendor_action&amp;gt;Failed|Accepted) \w+ for (invalid user )*(?&amp;lt;user&amp;gt;\S+) from (?&amp;lt;src&amp;gt;\d+\.\d+\.\d+\.\d+) port (?&amp;lt;src_port&amp;gt;\d+)
EXTRACT-sudo_open_details = ^\w+ +\d+ \d\d:\d\d:\d\d \w+ (?&amp;lt;app&amp;gt;sudo): pam_unix\(sudo:session\): (?&amp;lt;vendor_action&amp;gt;session \w+) for user (?&amp;lt;user&amp;gt;\w+) by (?&amp;lt;src_user&amp;gt;\w+)
LOOKUP-action_for_linux_auth = nix_action_lookup vendor_action OUTPUTNEW action
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:22:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Authentication-extraction-for-Unix-add-on-and-Enterprise/m-p/120900#M299</guid>
      <dc:creator>mdessus_splunk</dc:creator>
      <dc:date>2020-09-28T19:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication extraction for Unix add-on and Enterprise Security (tested un Ubuntu Linux)</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Authentication-extraction-for-Unix-add-on-and-Enterprise/m-p/120901#M300</link>
      <description>&lt;P&gt;The answer is in the question &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 21:15:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Authentication-extraction-for-Unix-add-on-and-Enterprise/m-p/120901#M300</guid>
      <dc:creator>mdessus_splunk</dc:creator>
      <dc:date>2015-04-01T21:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication extraction for Unix add-on and Enterprise Security (tested un Ubuntu Linux)</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Authentication-extraction-for-Unix-add-on-and-Enterprise/m-p/120902#M301</link>
      <description>&lt;P&gt;I slightly changed  &lt;CODE&gt;EXTRACT-sudo_open_details&lt;/CODE&gt; so it also works with "su"&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;^\w+ \d+ \d{2}:\d{2}:\d{2} (?&amp;lt;src&amp;gt;.+) (?&amp;lt;app&amp;gt;\w+).*: pam_unix\(.+:session\): (?&amp;lt;vendor_action&amp;gt;session \w+) for user (?&amp;lt;user&amp;gt;\w+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For the rest it works perfect with my RHEL. Thanks !&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 13:08:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Authentication-extraction-for-Unix-add-on-and-Enterprise/m-p/120902#M301</guid>
      <dc:creator>ycourbe</dc:creator>
      <dc:date>2017-08-18T13:08:38Z</dc:date>
    </item>
  </channel>
</rss>

