<?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: Cisco ESA add-on  (email security) extracting logs from a common syslog file in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Cisco-ESA-add-on-email-security-extracting-logs-from-a-common/m-p/508383#M86502</link>
    <description>&lt;P&gt;Appreciate the detailed response. I think separating log files is the way to go. However, it looks like the add-on wants to assign sourcetypes to events by referencing &lt;A href="https://docs.splunk.com/Documentation/AddOns/released/CiscoESA/Configureinputsonaforwarder" target="_self"&gt;separate logfiles in multiple monitor stanzas&lt;/A&gt;. I can separate the ESA logs into another file using a host-based filter, but that means that I may still have to do some regex processing on rsyslog to separate them further into individual file types. I feel like the approach this add-on is taking is a bit odd / restrictive.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jul 2020 18:55:10 GMT</pubDate>
    <dc:creator>fahmed11</dc:creator>
    <dc:date>2020-07-09T18:55:10Z</dc:date>
    <item>
      <title>Cisco ESA add-on  (email security) extracting logs from a common syslog file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cisco-ESA-add-on-email-security-extracting-logs-from-a-common/m-p/508346#M86498</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the Cisco ESA add-on (&lt;A href="https://splunkbase.splunk.com/app/1761/" target="_blank" rel="noopener"&gt;https://splunkbase.splunk.com/app/1761/&lt;/A&gt;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;The &lt;A href="https://docs.splunk.com/Documentation/AddOns/released/CiscoESA/Configureinputsonaforwarder" target="_self"&gt;documentation references files&lt;/A&gt; which need to be monitored by adding monitor stanzas to inputs.conf (example pasted below).&lt;/P&gt;&lt;PRE&gt;[monitor://&amp;lt;Cisco_Ironport_LOG_PATH&amp;gt;\mail.@20130712T172736.s]
sourcetype = cisco:esa:textmail&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;However, I do not have a single file with only Cisco ESA logs. I have a syslog server which receives logs from numerous devices (routers, switches, firewalls) and puts them into a single log file. This log file is then processed by a Splunk UF and sent to Splunk Cloud.&lt;/P&gt;&lt;P&gt;How do I extract and parse Cisco ESA logs from this file using the ESA add-on? I'm assuming that creating a monitor stanza with the common log file with categorize everything as "cisco:esa:textmail".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 16:46:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cisco-ESA-add-on-email-security-extracting-logs-from-a-common/m-p/508346#M86498</guid>
      <dc:creator>fahmed11</dc:creator>
      <dc:date>2020-07-09T16:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ESA add-on  (email security) extracting logs from a common syslog file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cisco-ESA-add-on-email-security-extracting-logs-from-a-common/m-p/508368#M86499</link>
      <description>&lt;P&gt;IMO, it was a mistake to dump all of the syslog events into a single file.&amp;nbsp; It creates the very situation in which you find yourself.&lt;/P&gt;&lt;P&gt;Better practice is to use the features of the syslog server to separate the events into different files based on the source.&amp;nbsp; Both rsyslog and syslog-ng can do this.&amp;nbsp; This makes it simple for a UF to read a file and associate a single sourcetype with it.&amp;nbsp; See&amp;nbsp;&lt;A href="https://www.splunk.com/en_us/blog/tips-and-tricks/using-syslog-ng-with-splunk.html" target="_blank"&gt;https://www.splunk.com/en_us/blog/tips-and-tricks/using-syslog-ng-with-splunk.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Another option is the new Splunk Connect for Syslog product.&amp;nbsp; It's a free syslog container you can deploy to take most of the work out of managing syslog-ng.&amp;nbsp; See&amp;nbsp;&lt;A href="https://www.splunk.com/en_us/blog/tips-and-tricks/splunk-connect-for-syslog-turnkey-and-scalable-syslog-gdi.html" target="_blank"&gt;https://www.splunk.com/en_us/blog/tips-and-tricks/splunk-connect-for-syslog-turnkey-and-scalable-syslog-gdi.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Finally, if can can't or won't do either of the above then you'll have to change sourcetype on the fly as events are read from the syslog file.&amp;nbsp; That has to be done on the indexers or in a heavy forwarder, not a UF.&amp;nbsp; It can be challenging because you have to design regular expressions to identify each sourcetype among all of the similiar-looking syslog events.&amp;nbsp; See&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.4/Data/Advancedsourcetypeoverrides" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.4/Data/Advancedsourcetypeoverrides&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 17:54:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cisco-ESA-add-on-email-security-extracting-logs-from-a-common/m-p/508368#M86499</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-09T17:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ESA add-on  (email security) extracting logs from a common syslog file</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Cisco-ESA-add-on-email-security-extracting-logs-from-a-common/m-p/508383#M86502</link>
      <description>&lt;P&gt;Appreciate the detailed response. I think separating log files is the way to go. However, it looks like the add-on wants to assign sourcetypes to events by referencing &lt;A href="https://docs.splunk.com/Documentation/AddOns/released/CiscoESA/Configureinputsonaforwarder" target="_self"&gt;separate logfiles in multiple monitor stanzas&lt;/A&gt;. I can separate the ESA logs into another file using a host-based filter, but that means that I may still have to do some regex processing on rsyslog to separate them further into individual file types. I feel like the approach this add-on is taking is a bit odd / restrictive.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 18:55:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Cisco-ESA-add-on-email-security-extracting-logs-from-a-common/m-p/508383#M86502</guid>
      <dc:creator>fahmed11</dc:creator>
      <dc:date>2020-07-09T18:55:10Z</dc:date>
    </item>
  </channel>
</rss>

