<?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: syslog-ng configuration in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-configuration/m-p/753656#M119650</link>
    <description>&lt;P&gt;I would say that "user friendly" and "easier to maintain" is highly subjective &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Sep 2025 16:10:53 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2025-09-26T16:10:53Z</dc:date>
    <item>
      <title>syslog-ng configuration</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-configuration/m-p/753608#M119640</link>
      <description>&lt;P&gt;I need to onboard CISCO IOS switch logs with splunk, we have a syslog-ng installed on HF, could somebody explain the exact configurations to be made in syslog-ng.conf?&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 11:22:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-configuration/m-p/753608#M119640</guid>
      <dc:creator>maheshnc</dc:creator>
      <dc:date>2025-09-25T11:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: syslog-ng configuration</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-configuration/m-p/753613#M119641</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/312895"&gt;@maheshnc&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;at first I hint to use rsyslog instead of syslog-ng because it's newer.&lt;/P&gt;&lt;P&gt;anyway you can find a guide for syslog-ng at &lt;A href="https://syslog-ng.github.io/" target="_blank"&gt;https://syslog-ng.github.io/&lt;/A&gt;&amp;nbsp;and for rsyslog at&amp;nbsp;&lt;A href="https://www.rsyslog.com/doc/index.html" target="_blank"&gt;https://www.rsyslog.com/doc/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you choose to use rsyslog, I can help you.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 12:13:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-configuration/m-p/753613#M119641</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-09-25T12:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: syslog-ng configuration</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-configuration/m-p/753616#M119642</link>
      <description>&lt;P&gt;While I'm a big fan of rsyslog myself, you can't say that it's "newer" than rsyslog.&lt;/P&gt;&lt;P&gt;Depending on your metric, they are either both relatively aged already (1998 vs 2004) or both quite fresh (16th July vs 10th June).&lt;/P&gt;&lt;P&gt;But they have huge differences in how they work internally and how they are configured. (And I'm not gonna advocate in this thread for or against any of them).&lt;/P&gt;&lt;P&gt;So if you already have a significantly sized environment based on one of those solutions you're unlikely to migrate to the other one due to required time and effort (but I've known an organization which migrated a huge setup; it was painful).&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 16:19:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-configuration/m-p/753616#M119642</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-09-25T16:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: syslog-ng configuration</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-configuration/m-p/753630#M119645</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/312895"&gt;@maheshnc&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use rsyslog or syslog-ng based on your comfort and your system setup. Personally i have seen rsyslog is giving better performance for high volume environments and syslog-ng is more user friednly and easier to maintain the configs.&lt;/P&gt;&lt;P&gt;To your question, basic structure looks something like this for syslog-ng&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# 1. Source: listen for UDP 514
source s_cisco {
udp(port(514));
};

# 2. Destination: write logs to a dedicated file per device
destination d_cisco {
file("/var/log/cisco/$HOST/ios.log"
perm(0644) create_dirs(yes));
};

# 3. Filter: accept from cisco switch IP's
filter f_cisco {
host("10.10.10.1") or host("10.10.10.2");
};

# 4. Log path
log {
source(s_cisco);
filter(f_cisco);
destination(d_cisco);
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Prewin&lt;BR /&gt;If this answer helped you, please consider marking it as the solution or giving a Karma. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 07:09:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-configuration/m-p/753630#M119645</guid>
      <dc:creator>PrewinThomas</dc:creator>
      <dc:date>2025-09-26T07:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: syslog-ng configuration</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-configuration/m-p/753656#M119650</link>
      <description>&lt;P&gt;I would say that "user friendly" and "easier to maintain" is highly subjective &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 16:10:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-configuration/m-p/753656#M119650</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-09-26T16:10:53Z</dc:date>
    </item>
  </channel>
</rss>

