<?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: Is it possible to manage syslog-ng.conf using a deployment server? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-manage-syslog-ng-conf-using-a-deployment/m-p/284419#M54343</link>
    <description>&lt;P&gt;It worked!!&lt;/P&gt;

&lt;P&gt;At the very top of the syslog-ng.conf file, I added a statement:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;@include "/opt/splunkforwarder/etc/apps/syslogng_config/*.conf"&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Likely because I'm editing the file in Windows and deploying to linux, there were some syntax errors with missing spaces - identified with the command&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;syslog-ng --syntax-only&lt;BR /&gt;
The output from that shows that there was a syntax error, but also where it pulled it from (my deployment server path)&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;After that, reloading the syslog-ng config made the new, managed config go live.&lt;/P&gt;

&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 20:13:54 GMT</pubDate>
    <dc:creator>rpquinlan</dc:creator>
    <dc:date>2018-04-11T20:13:54Z</dc:date>
    <item>
      <title>Is it possible to manage syslog-ng.conf using a deployment server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-manage-syslog-ng-conf-using-a-deployment/m-p/284415#M54339</link>
      <description>&lt;P&gt;I am currently managing 4 syslog servers using syslog-ng.  I am trying to figure out the best way to manage the syslog-ng.conf file to prevent myself from having to make the same changes in 4 different locations.  &lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 14:57:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-manage-syslog-ng-conf-using-a-deployment/m-p/284415#M54339</guid>
      <dc:creator>cburgman</dc:creator>
      <dc:date>2016-09-14T14:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to manage syslog-ng.conf using a deployment server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-manage-syslog-ng-conf-using-a-deployment/m-p/284416#M54340</link>
      <description>&lt;P&gt;For example using puppet. There are many modules, this one was published by a former syslog-ng upstream developer and manages tens of thousands of machines: &lt;A href="https://forge.puppet.com/ihrwein/syslog_ng"&gt;https://forge.puppet.com/ihrwein/syslog_ng&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 15:44:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-manage-syslog-ng-conf-using-a-deployment/m-p/284416#M54340</guid>
      <dc:creator>czanik</dc:creator>
      <dc:date>2016-09-14T15:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to manage syslog-ng.conf using a deployment server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-manage-syslog-ng-conf-using-a-deployment/m-p/284417#M54341</link>
      <description>&lt;P&gt;Thanks for the info.  Was hoping there was a way to do it painlessly with the deployment server.  I will look into either puppet or ansible. &lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 20:32:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-manage-syslog-ng-conf-using-a-deployment/m-p/284417#M54341</guid>
      <dc:creator>cburgman</dc:creator>
      <dc:date>2016-10-05T20:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to manage syslog-ng.conf using a deployment server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-manage-syslog-ng-conf-using-a-deployment/m-p/284418#M54342</link>
      <description>&lt;P&gt;I was thinking about this today..  I wonder if this would work using the deployment server?&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;On the deployment server, /etc/deployment-apps, create a folder syslogng_config with subfolders metadata and local, just like you would for a real Splunk app.&lt;/LI&gt;
&lt;LI&gt;Add another subfolder called "config" or something that Splunk doesn't use.  Inside it, add your syslog-ng config file variables in a file, and reference the path in the 'real' syslog-ng.conf file.  Ref:  &lt;A href="https://syslog-ng.com/documents/html/syslog-ng-ose-3.14-guides/en/syslog-ng-ose-guide-admin/html/including-config-files.html"&gt;https://syslog-ng.com/documents/html/syslog-ng-ose-3.14-guides/en/syslog-ng-ose-guide-admin/html/including-config-files.html&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;On your deployment server "Forwarder management", add your new app as normal.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;As long as the file/folder permissions are good between Splunk and Syslog-NG, I would think this will work..&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 18:34:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-manage-syslog-ng-conf-using-a-deployment/m-p/284418#M54342</guid>
      <dc:creator>rpquinlan</dc:creator>
      <dc:date>2018-04-11T18:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to manage syslog-ng.conf using a deployment server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-manage-syslog-ng-conf-using-a-deployment/m-p/284419#M54343</link>
      <description>&lt;P&gt;It worked!!&lt;/P&gt;

&lt;P&gt;At the very top of the syslog-ng.conf file, I added a statement:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;@include "/opt/splunkforwarder/etc/apps/syslogng_config/*.conf"&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Likely because I'm editing the file in Windows and deploying to linux, there were some syntax errors with missing spaces - identified with the command&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;syslog-ng --syntax-only&lt;BR /&gt;
The output from that shows that there was a syntax error, but also where it pulled it from (my deployment server path)&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;After that, reloading the syslog-ng config made the new, managed config go live.&lt;/P&gt;

&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 20:13:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-manage-syslog-ng-conf-using-a-deployment/m-p/284419#M54343</guid>
      <dc:creator>rpquinlan</dc:creator>
      <dc:date>2018-04-11T20:13:54Z</dc:date>
    </item>
  </channel>
</rss>

