<?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: UDP 514 Syslog - Using transform with Cisco IronPort logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/UDP-514-Syslog-Using-transform-with-Cisco-IronPort-logs/m-p/83791#M97141</link>
    <description>&lt;P&gt;Try this I use it for multi device inputs that go to the same port.  Put it in the ect\system\local directory, should work for both TCP and UDP&lt;/P&gt;

&lt;P&gt;input.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    #UDP:514 multidevise input
    [udp://514]
    connection_host = ip
    index = syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#UPD514 device split
[source::udp:514]
MAX_TIMESTAMP_LOOKAHEAD = 20
NO_BINARY_CHECK = 1
TRANSFORMS-changesourcetype = WTI_st, as400FISERV_st,  as400COMPASS_st, CiscoBrRt_st, Cisco_IronPort_St
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#Ironport Email
[Cisco-IronPort_st] 
REGEX = 111\.x\.x\.x|111\.x\.x\.x 
SOURCE_KEY = MetaData:Host 
FORMAT = sourcetype::Cisco-IronPort
DEST_KEY = MetaData:Sourcetype

#bryans power management equipment
[WTI_st] 
REGEX = 111\.x\.x\.x|111\.x\.x\.x 
SOURCE_KEY = MetaData:Host 
FORMAT = sourcetype::WTI
DEST_KEY = MetaData:Sourcetype

[as400FISERV_st] 
REGEX = 111\.x\.x\.x 
SOURCE_KEY = MetaData:Host 
FORMAT = sourcetype::as400FISERV
DEST_KEY = MetaData:Sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 04 Mar 2015 21:31:39 GMT</pubDate>
    <dc:creator>jarjoh42</dc:creator>
    <dc:date>2015-03-04T21:31:39Z</dc:date>
    <item>
      <title>UDP 514 Syslog - Using transform with Cisco IronPort logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/UDP-514-Syslog-Using-transform-with-Cisco-IronPort-logs/m-p/83789#M97139</link>
      <description>&lt;P&gt;Trying to transform syslog data arriving over UDP 514 into either &lt;CODE&gt;cisco_asa&lt;/CODE&gt; or &lt;CODE&gt;cisco_wsa_squid&lt;/CODE&gt;.&lt;BR /&gt;&lt;BR /&gt;
The asa logs work find and transform as I expect, but the ironport logs do not - they remain as syslog.     &lt;/P&gt;

&lt;P&gt;transforms.conf file   &lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog-Cisco_IronPort]  
DEST_KEY = MetaData:Sourcetype  
REGEX=src=xxx\.xx\.33\.113  
FORMAT = sourcetype::cisco\_wsa\_squid  
DEST\_KEY = MetaData:Sourcetype  

[syslog-Cisco_ASA]  
DEST\_KEY = MetaData:Sourcetype  
REGEX = :\d\d\s+(?:\d+\s+|(?:user|daemon|local.?)\.\w+\s+)*\[?(xxx.xx.1.132)[\w\.\-]{2,})\]?\s  
FORMAT = sourcetype::cisco\_asa  
DEST\_KEY = MetaData:Sourcetype 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;BR /&gt;
props.conf file&lt;BR /&gt;&lt;BR /&gt;
&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::udp:514]  
TRANSFORMS-CHANGESOURCETYPES = syslog-Cisco\_ASA,syslog-Cisco\_IronPort 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Thank you in advance ...&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2013 20:07:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/UDP-514-Syslog-Using-transform-with-Cisco-IronPort-logs/m-p/83789#M97139</guid>
      <dc:creator>rroatman</dc:creator>
      <dc:date>2013-04-03T20:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: UDP 514 Syslog - Using transform with Cisco IronPort logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/UDP-514-Syslog-Using-transform-with-Cisco-IronPort-logs/m-p/83790#M97140</link>
      <description>&lt;P&gt;Please use the formatting tools (especially &lt;CODE&gt;code&lt;/CODE&gt;) when typing config stuff. Regexes tend to get mangled by the input sanitation in the forum software.&lt;/P&gt;

&lt;P&gt;Assuming that your backslashes in the confs are not really there - apart from the regexes - and that the x's are just your obfuscation, the only 'problem' I see is that you have duplicated the DEST_KEY in both transforms stanzas. You only need one in each.&lt;/P&gt;

&lt;P&gt;Other than that - are you sure that your regex for IronPort matches your events. It sure looks simple enough, but...&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 07:16:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/UDP-514-Syslog-Using-transform-with-Cisco-IronPort-logs/m-p/83790#M97140</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-04-04T07:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: UDP 514 Syslog - Using transform with Cisco IronPort logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/UDP-514-Syslog-Using-transform-with-Cisco-IronPort-logs/m-p/83791#M97141</link>
      <description>&lt;P&gt;Try this I use it for multi device inputs that go to the same port.  Put it in the ect\system\local directory, should work for both TCP and UDP&lt;/P&gt;

&lt;P&gt;input.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    #UDP:514 multidevise input
    [udp://514]
    connection_host = ip
    index = syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#UPD514 device split
[source::udp:514]
MAX_TIMESTAMP_LOOKAHEAD = 20
NO_BINARY_CHECK = 1
TRANSFORMS-changesourcetype = WTI_st, as400FISERV_st,  as400COMPASS_st, CiscoBrRt_st, Cisco_IronPort_St
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#Ironport Email
[Cisco-IronPort_st] 
REGEX = 111\.x\.x\.x|111\.x\.x\.x 
SOURCE_KEY = MetaData:Host 
FORMAT = sourcetype::Cisco-IronPort
DEST_KEY = MetaData:Sourcetype

#bryans power management equipment
[WTI_st] 
REGEX = 111\.x\.x\.x|111\.x\.x\.x 
SOURCE_KEY = MetaData:Host 
FORMAT = sourcetype::WTI
DEST_KEY = MetaData:Sourcetype

[as400FISERV_st] 
REGEX = 111\.x\.x\.x 
SOURCE_KEY = MetaData:Host 
FORMAT = sourcetype::as400FISERV
DEST_KEY = MetaData:Sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Mar 2015 21:31:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/UDP-514-Syslog-Using-transform-with-Cisco-IronPort-logs/m-p/83791#M97141</guid>
      <dc:creator>jarjoh42</dc:creator>
      <dc:date>2015-03-04T21:31:39Z</dc:date>
    </item>
  </channel>
</rss>

