<?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 systemctl not starting the service in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-systemctl-not-starting-the-service/m-p/563252#M100362</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I believe, it is not the same. The post has an issue with the 'syslog-ng.service' app that would not be started.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Aug 2021 20:03:16 GMT</pubDate>
    <dc:creator>datsplunk4272</dc:creator>
    <dc:date>2021-08-13T20:03:16Z</dc:date>
    <item>
      <title>syslog-ng systemctl not starting the service</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-systemctl-not-starting-the-service/m-p/445716#M99386</link>
      <description>&lt;P&gt;running CentOS 7&lt;/P&gt;

&lt;P&gt;journalctl -fu syslog-ng shows&lt;BR /&gt;
Unit syslog-ng.service entered failed state.&lt;BR /&gt;
syslog-ng.service failed.&lt;BR /&gt;
syslog-ng.service holdoff time over, scheduling restart.&lt;BR /&gt;
start request repeated too quickly for syslog-ng.service&lt;BR /&gt;
Failed to start System Logger Daemon.&lt;BR /&gt;
Unit syslog-ng.service entered failed state.&lt;BR /&gt;
syslog-ng.service failed.&lt;/P&gt;

&lt;P&gt;trying to get Cisco ASA to forward logs over but can't seem to get it to work.&lt;/P&gt;

&lt;P&gt;syslog-ng.conf:&lt;/P&gt;

&lt;P&gt;# syslog-ng configuration file.&lt;BR /&gt;
   #&lt;BR /&gt;
   #&lt;BR /&gt;
    @include "/opt/syslog-ng/scl.conf"&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;options {
chain_hostnames(no);
create_dirs (yes);
dir_perm(0755);
dns_cache(yes);
keep_hostname(yes);
log_fifo_size(2048);
log_msg_size(8192);
perm(0644);
time_reopen (10);
use_dns(yes);
use_fqdn(yes);
};

source s_network {
udp(port(514));
};

#Destinations
destination d_cisco_asa { file(“/var/syslog/logs/cisco/asa/$HOST/$YEAR-$MONTH-$DAY-cisco-asa.log” create_dirs(yes)); };

# Filters
filter f_cisco_asa { match(“%ASA” value(“PROGRAM”)) or match(“%ASA” value(“MESSAGE”)); };
filter f_all { not (
filter(f_cisco_asa)
);
};
# Log
log { source(s_network); filter(f_cisco_asa); destination(d_cisco_asa); };
log { source(s_network); filter(f_all); destination(d_all); }
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Aug 2019 00:28:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-systemctl-not-starting-the-service/m-p/445716#M99386</guid>
      <dc:creator>tthonest</dc:creator>
      <dc:date>2019-08-14T00:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: syslog-ng systemctl not starting the service</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-systemctl-not-starting-the-service/m-p/445717#M99387</link>
      <description>&lt;P&gt;Hi @tthonest &lt;/P&gt;

&lt;P&gt;Try below steps to resolve the issue:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;Please check whether rsyslog is running on your server,  if rsyslog is running you won't be able to start Syslog because by default they are listening on the same port. To disable rsyslog run this command: &lt;CODE&gt;systemctl disable rsyslog&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Try running &lt;CODE&gt;syslog-ng --syntax-only&lt;/CODE&gt; to verify that there are no syntax errors in your config as because if there is any syntax error present on your config file then it will fail to start Syslog and also try to run &lt;CODE&gt;/usr/sbin/syslog-ng -F -p /var/run/syslogd.pid&lt;/CODE&gt; as it will check customized syslog-ng.conf that there is any typo or syntax error present or not, if there are any errors then you have to fix them and need to restart Syslog.&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 14 Aug 2019 02:12:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-systemctl-not-starting-the-service/m-p/445717#M99387</guid>
      <dc:creator>dhihoriya_splun</dc:creator>
      <dc:date>2019-08-14T02:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: syslog-ng systemctl not starting the service</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-systemctl-not-starting-the-service/m-p/563244#M100358</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can use this cmd follow to see what lines could cost the issue. I used to use to find mine as well. Please let me know your outcome.&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:root@hostname" target="_blank"&gt;[ root@hostname&lt;/A&gt;&amp;nbsp;]# journalctl -a | grep syslog-ng&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I am concerning this code follow that you might check as well. I will double-check with it as well since I have never used it before.&lt;/P&gt;&lt;P&gt;filter f_all {&lt;BR /&gt;not (&lt;BR /&gt;filter(f_cisco_asa)&lt;BR /&gt;);&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 19:51:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-systemctl-not-starting-the-service/m-p/563244#M100358</guid>
      <dc:creator>datsplunk4272</dc:creator>
      <dc:date>2021-08-13T19:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: syslog-ng systemctl not starting the service</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-systemctl-not-starting-the-service/m-p/563250#M100360</link>
      <description>&lt;P&gt;Hi, I'm new too, my English is not good so I use the google translator.&lt;/P&gt;&lt;P&gt;I ever presented something similar, and I don't know if it's the same&lt;/P&gt;&lt;P&gt;run the command in linux &lt;STRONG&gt;df -h&lt;/STRONG&gt; and see if there is any partition or disk at 100%&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 19:59:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-systemctl-not-starting-the-service/m-p/563250#M100360</guid>
      <dc:creator>splunkcol</dc:creator>
      <dc:date>2021-08-13T19:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: syslog-ng systemctl not starting the service</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-systemctl-not-starting-the-service/m-p/563251#M100361</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For me, it should work, but could you try this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;filter f_all {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;not&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;filter(f_cisco_asa)&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.softpanorama.org/Logs/Syslog_ng/configuration_examples.shtml" target="_blank"&gt;http://www.softpanorama.org/Logs/Syslog_ng/configuration_examples.shtml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 19:59:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-systemctl-not-starting-the-service/m-p/563251#M100361</guid>
      <dc:creator>datsplunk4272</dc:creator>
      <dc:date>2021-08-13T19:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: syslog-ng systemctl not starting the service</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-systemctl-not-starting-the-service/m-p/563252#M100362</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I believe, it is not the same. The post has an issue with the 'syslog-ng.service' app that would not be started.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 20:03:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/syslog-ng-systemctl-not-starting-the-service/m-p/563252#M100362</guid>
      <dc:creator>datsplunk4272</dc:creator>
      <dc:date>2021-08-13T20:03:16Z</dc:date>
    </item>
  </channel>
</rss>

