<?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: Extract mac address from different logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-mac-address-from-different-logs/m-p/611753#M105916</link>
    <description>&lt;LI-CODE lang="markup"&gt;| rex "(Client |Auth success: )(?&amp;lt;src&amp;gt;..:..:..:..:..:..)"&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 02 Sep 2022 11:32:50 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2022-09-02T11:32:50Z</dc:date>
    <item>
      <title>How to extract mac address from different logs?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-mac-address-from-different-logs/m-p/611740#M105914</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm trying to extract some fields from my Access Point Aruba in order to be CIM compliant. For authentication log I have two kinds of event:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Login failed:&lt;/P&gt;
&lt;P&gt;cli[5405]: &amp;lt;341004&amp;gt; &amp;lt;WARN&amp;gt; AP:ML_AP01 &amp;lt;................................&amp;gt;&amp;nbsp; Client &lt;SPAN&gt;60:f2:62:8c:a8:a7&lt;/SPAN&gt; authenticate fail because RADIUS server authentication failure&lt;/P&gt;
&lt;P&gt;Login success:&lt;/P&gt;
&lt;P&gt;stm[5434]: &amp;lt;501093&amp;gt; &amp;lt;NOTI&amp;gt; AP:ML_AP01 &amp;lt;..................................&lt;SPAN&gt;&amp;gt; Auth success: 60:f2:62:8c:a8:a7: AP ...................................ML_AP01&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My goal is to extract the mac address after "Client" in the first log and the mac after "Auth success" in the second one in a common field called "src", can someone please help me?&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 14:34:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-mac-address-from-different-logs/m-p/611740#M105914</guid>
      <dc:creator>marco_massari11</dc:creator>
      <dc:date>2022-09-02T14:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extract mac address from different logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-mac-address-from-different-logs/m-p/611753#M105916</link>
      <description>&lt;LI-CODE lang="markup"&gt;| rex "(Client |Auth success: )(?&amp;lt;src&amp;gt;..:..:..:..:..:..)"&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 02 Sep 2022 11:32:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-extract-mac-address-from-different-logs/m-p/611753#M105916</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-09-02T11:32:50Z</dc:date>
    </item>
  </channel>
</rss>

