<?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: Can I set-up Splunk to replace a syslog server? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-up-Splunk-to-replace-a-syslog-server/m-p/501960#M85536</link>
    <description>&lt;P&gt;No. Don't do it. Here's my story.&lt;/P&gt;

&lt;P&gt;Our COVID19 work from home barage started up and our execs wanted VPN stats pronto. Security guys said they'd point their syslog at where we wanted. I quickly built a VM and threw a UF on it. Next, I set-up a UDP input on 514, and configured the props, indexes, etc. Finally I lit it up, boom! Data coming in. &lt;/P&gt;

&lt;P&gt;For a few days we worked on reports. Then I started noticing missing events here and there. As I dug in I found &lt;A href="https://www.duanewaddle.com/rhel-7-udp-metrics-into-splunk-metrics-index/"&gt;duckfez's&lt;/A&gt; post on tracking UDP errors. And oh man were there a lot of errors. Like thousands per second. We're definitely dropping events.&lt;/P&gt;

&lt;P&gt;I set-up rsyslog to receive instead. It's writing to disk, and splunk is reading from there. I also set-up logrotate to clean up cuz these logs are gonna be big. With some tweaking of my props and transforms, I got everything to match the slightly different appearance of the logs.&lt;/P&gt;

&lt;P&gt;End results with the exact same stream of data being thrown at the server:&lt;/P&gt;

&lt;P&gt;While using Splunk to receive directly:&lt;/P&gt;

&lt;P&gt;2,500  events/sec&lt;BR /&gt;
10,000 UDP rcv buf errors/sec&lt;/P&gt;

&lt;P&gt;While using rsyslog to receive, and Splunk reads from disk:&lt;/P&gt;

&lt;P&gt;25,000 events/sec&lt;BR /&gt;
0 UDP rcv buf errors/sec&lt;/P&gt;

&lt;P&gt;No other changes were made to the host or the log stream being shoved at it.&lt;/P&gt;

&lt;P&gt;Don't use Splunk to receive syslog.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Mar 2020 20:06:09 GMT</pubDate>
    <dc:creator>twinspop</dc:creator>
    <dc:date>2020-03-27T20:06:09Z</dc:date>
    <item>
      <title>Can I set-up Splunk to replace a syslog server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-up-Splunk-to-replace-a-syslog-server/m-p/501959#M85535</link>
      <description>&lt;P&gt;We need to ingest syslog data. Rather then send to a syslog server, then read data from disk with a Forwarder, it seems like sending directly to a Forwarder listening on port 514 would be more efficient. Are there any problems with doing this?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 20:05:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-up-Splunk-to-replace-a-syslog-server/m-p/501959#M85535</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2020-03-27T20:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can I set-up Splunk to replace a syslog server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-up-Splunk-to-replace-a-syslog-server/m-p/501960#M85536</link>
      <description>&lt;P&gt;No. Don't do it. Here's my story.&lt;/P&gt;

&lt;P&gt;Our COVID19 work from home barage started up and our execs wanted VPN stats pronto. Security guys said they'd point their syslog at where we wanted. I quickly built a VM and threw a UF on it. Next, I set-up a UDP input on 514, and configured the props, indexes, etc. Finally I lit it up, boom! Data coming in. &lt;/P&gt;

&lt;P&gt;For a few days we worked on reports. Then I started noticing missing events here and there. As I dug in I found &lt;A href="https://www.duanewaddle.com/rhel-7-udp-metrics-into-splunk-metrics-index/"&gt;duckfez's&lt;/A&gt; post on tracking UDP errors. And oh man were there a lot of errors. Like thousands per second. We're definitely dropping events.&lt;/P&gt;

&lt;P&gt;I set-up rsyslog to receive instead. It's writing to disk, and splunk is reading from there. I also set-up logrotate to clean up cuz these logs are gonna be big. With some tweaking of my props and transforms, I got everything to match the slightly different appearance of the logs.&lt;/P&gt;

&lt;P&gt;End results with the exact same stream of data being thrown at the server:&lt;/P&gt;

&lt;P&gt;While using Splunk to receive directly:&lt;/P&gt;

&lt;P&gt;2,500  events/sec&lt;BR /&gt;
10,000 UDP rcv buf errors/sec&lt;/P&gt;

&lt;P&gt;While using rsyslog to receive, and Splunk reads from disk:&lt;/P&gt;

&lt;P&gt;25,000 events/sec&lt;BR /&gt;
0 UDP rcv buf errors/sec&lt;/P&gt;

&lt;P&gt;No other changes were made to the host or the log stream being shoved at it.&lt;/P&gt;

&lt;P&gt;Don't use Splunk to receive syslog.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 20:06:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-set-up-Splunk-to-replace-a-syslog-server/m-p/501960#M85536</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2020-03-27T20:06:09Z</dc:date>
    </item>
  </channel>
</rss>

