<?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: ASA MAC address re-format in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ASA-MAC-address-re-format/m-p/207187#M22063</link>
    <description>&lt;P&gt;With a lot of research I found out the formula:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="cisco:asa" message_id=604103 |rex mode=sed field=src_mac "s/01//g" | rex mode=sed field=src_mac "s/[:. -]//g" | rex mode=sed field=src_mac "s/(..)(..)(..)(..)(..)(..)/\1:\2:\3:\4:\5:\6/"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, can I would like to have it at index time and not search time...&lt;/P&gt;</description>
    <pubDate>Mon, 26 Sep 2016 07:39:03 GMT</pubDate>
    <dc:creator>andresito123</dc:creator>
    <dc:date>2016-09-26T07:39:03Z</dc:date>
    <item>
      <title>ASA MAC address re-format</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ASA-MAC-address-re-format/m-p/207184#M22060</link>
      <description>&lt;P&gt;Good morning community!&lt;/P&gt;

&lt;P&gt;I have a dead-end and hope somebody helped me.&lt;/P&gt;

&lt;P&gt;I have this Cisco ASA MAC address format: "0118.3a2d.584b.5e".&lt;/P&gt;

&lt;P&gt;When I read Network Traffic data model, I saw the recommendation:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;The destination TCP/IP layer 2 Media Access Control (MAC) address of a packet's destination, such as 06:10:9f:eb:8f:14. Note: Always force lower case on this field. Note: Always use colons instead of dashes, spaces, or no separator. &lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;The question is how I can transform at index time MAC address from "0118.3a2d.584b.5e" to "01:18:3a:2d:58:4b:5e".&lt;/P&gt;

&lt;P&gt;Thanks in advance,&lt;BR /&gt;
Andreas&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 09:31:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ASA-MAC-address-re-format/m-p/207184#M22060</guid>
      <dc:creator>andresito123</dc:creator>
      <dc:date>2016-09-23T09:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: ASA MAC address re-format</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ASA-MAC-address-re-format/m-p/207185#M22061</link>
      <description>&lt;P&gt;pls check this one - &lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/870/how-to-normalize-mac-address-format.html"&gt;https://answers.splunk.com/answers/870/how-to-normalize-mac-address-format.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 09:46:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ASA-MAC-address-re-format/m-p/207185#M22061</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2016-09-23T09:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: ASA MAC address re-format</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ASA-MAC-address-re-format/m-p/207186#M22062</link>
      <description>&lt;P&gt;I have tried this configuration on transforms.conf but with no luck:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[src_mac]
REGEX = 01([0-9A-Fa-f]{2})[.]([0-9A-Fa-f]{2})([0-9A-Fa-f]{2})[.]([0-9A-Fa-f]{2})([0-9A-Fa-f]{2})[.]([0-9A-Fa-f]{2})
FORMAT = src_mac::$1:$2:$3:$4:$5:$6
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Sep 2016 14:36:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ASA-MAC-address-re-format/m-p/207186#M22062</guid>
      <dc:creator>andresito123</dc:creator>
      <dc:date>2016-09-23T14:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: ASA MAC address re-format</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ASA-MAC-address-re-format/m-p/207187#M22063</link>
      <description>&lt;P&gt;With a lot of research I found out the formula:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="cisco:asa" message_id=604103 |rex mode=sed field=src_mac "s/01//g" | rex mode=sed field=src_mac "s/[:. -]//g" | rex mode=sed field=src_mac "s/(..)(..)(..)(..)(..)(..)/\1:\2:\3:\4:\5:\6/"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, can I would like to have it at index time and not search time...&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 07:39:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ASA-MAC-address-re-format/m-p/207187#M22063</guid>
      <dc:creator>andresito123</dc:creator>
      <dc:date>2016-09-26T07:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: ASA MAC address re-format</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ASA-MAC-address-re-format/m-p/207188#M22064</link>
      <description>&lt;P&gt;Hi, please check - Index-time field extraction examples&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.3/Data/Configureindex-timefieldextraction"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.3/Data/Configureindex-timefieldextraction&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Best Regards,&lt;BR /&gt;
Sekar&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 08:19:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ASA-MAC-address-re-format/m-p/207188#M22064</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2016-09-26T08:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: ASA MAC address re-format</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/ASA-MAC-address-re-format/m-p/207189#M22065</link>
      <description>&lt;P&gt;You can use SEDCMD in props.conf on the indexer to perform this operation on the raw data before it gets indexed.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 21:45:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/ASA-MAC-address-re-format/m-p/207189#M22065</guid>
      <dc:creator>mcronkrite_splu</dc:creator>
      <dc:date>2016-10-04T21:45:42Z</dc:date>
    </item>
  </channel>
</rss>

