<div dir="ltr">Hi, <div><br></div><div>Yes, you can do that with OSE. Which OSE version you need depends on how you want to send the logs to Splunk. For example, the http() destination referenced in the first blogpost needs a fairly recent version (at least 3.8 I think). Another (somewhat less sophisticated) option is to write the logs into files, and have Splunk to read those files - that can be done with older syslog-ng versions as well. </div><div><br></div><div>You can find links to recent packages at <a href="https://syslog-ng.org/3rd-party-binaries/">https://syslog-ng.org/3rd-party-binaries/</a></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 18, 2017 at 1:45 PM, Stuart Martin <span dir="ltr"><<a href="mailto:S.Martin@sstl.co.uk" target="_blank">S.Martin@sstl.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-GB" link="blue" vlink="purple">
<div class="m_150039684065140873WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Robert,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Great, thanks for coming back to me so quickly with very useful information. Can I just confirm that the OSE will support this, don’t
 need Premium or anything?<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Many Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Kind Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Stuart<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> syslog-ng [mailto:<a href="mailto:syslog-ng-bounces@lists.balabit.hu" target="_blank">syslog-ng-bounces@<wbr>lists.balabit.hu</a>]
<b>On Behalf Of </b>Fekete, Róbert<br>
<b>Sent:</b> 18 May 2017 12:37<br>
<b>To:</b> Syslog-ng users' and developers' mailing list <<a href="mailto:syslog-ng@lists.balabit.hu" target="_blank">syslog-ng@lists.balabit.hu</a>><br>
<b>Subject:</b> Re: [syslog-ng] use of Syslog-ng to filter logs for forwarding to Splunk<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi Stuart, <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Although it is not explicitly mentioned in the docs (I should add a section sometime), syslog-ng can do this. You can find more details about it in these Splunk blogposts: <u></u><u></u></p>
</div>
<div>
<div id="m_150039684065140873gmail-:m1.co">
<div style="margin-left:6.75pt;margin-right:6.75pt;margin-bottom:4.5pt;opacity:1;word-wrap:break-word;word-break:break-word" id="m_150039684065140873gmail-:m5.ma">
<p class="MsoNormal" style="line-height:12.0pt"><span class="m_150039684065140873gmail-tl8wme"><span style="font-size:10.0pt;color:#263238"><a href="https://www.google.com/url?q=https%3A%2F%2Fwww.splunk.com%2Fblog%2F2017%2F03%2F30%2Fsyslog-ng-and-hec-scalable-aggregated-data-collection-in-splunk.html&sa=D&sntz=1&usg=AFQjCNHA6B3pNK8iYkhvMNKJAofoQBv9NA" target="_blank"><span style="color:#263238">https://www.splunk.com/blog/<wbr>2017/03/30/syslog-ng-and-hec-<wbr>scalable-aggregated-data-<wbr>collection-in-splunk.html</span></a></span></span><span style="font-size:10.0pt;color:#263238"><u></u><u></u></span></p>
</div>
<div style="margin-left:6.75pt;margin-right:6.75pt;margin-bottom:4.5pt;opacity:1;word-wrap:break-word;word-break:break-word" id="m_150039684065140873gmail-:n3.ma">
<p class="MsoNormal" style="line-height:12.0pt"><span class="m_150039684065140873gmail-tl8wme"><span style="font-size:10.0pt;color:#263238"><a href="https://www.google.com/url?q=https%3A%2F%2Fwww.splunk.com%2Fblog%2F2016%2F03%2F11%2Fusing-syslog-ng-with-splunk%2F&sa=D&sntz=1&usg=AFQjCNFszFq3emOTowQPzMgYOMdJ_txVEQ" target="_blank"><span style="color:#263238">https://www.splunk.com/blog/<wbr>2016/03/11/using-syslog-ng-<wbr>with-splunk/</span></a></span></span><span style="font-size:10.0pt;color:#263238"><u></u><u></u></span></p>
</div>
<div style="margin-left:6.75pt;margin-right:6.75pt;margin-bottom:4.5pt;opacity:1;word-wrap:break-word;word-break:break-word" id="m_150039684065140873gmail-:n3.ma">
<p class="MsoNormal" style="line-height:12.0pt"><span style="font-size:10.0pt;color:#263238"><u></u> <u></u></span></p>
</div>
<div style="margin-left:6.75pt;margin-right:6.75pt;margin-bottom:4.5pt;opacity:1;word-wrap:break-word;word-break:break-word" id="m_150039684065140873gmail-:n3.ma">
<p class="MsoNormal" style="line-height:12.0pt"><span style="font-size:10.0pt;color:#263238">HTH, <u></u><u></u></span></p>
</div>
<div style="margin-left:6.75pt;margin-right:6.75pt;margin-bottom:4.5pt;opacity:1;word-wrap:break-word;word-break:break-word" id="m_150039684065140873gmail-:n3.ma">
<p class="MsoNormal" style="line-height:12.0pt"><span style="font-size:10.0pt;color:#263238">Robert<u></u><u></u></span></p>
</div>
<div style="margin-left:6.75pt;margin-right:6.75pt;margin-bottom:4.5pt;opacity:1;word-wrap:break-word;word-break:break-word" id="m_150039684065140873gmail-:n3.ma">
<p class="MsoNormal" style="line-height:12.0pt"><span style="font-size:10.0pt;color:#263238"><u></u> <u></u></span></p>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, May 18, 2017 at 1:12 PM, Stuart Martin <<a href="mailto:S.Martin@sstl.co.uk" target="_blank">S.Martin@sstl.co.uk</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">Hi<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">We are looking to collect logs from servers and devices in our DMZ and then filter the logs of unnecessary information to then be sent to our internal Splunk instance.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Would Syslog-ng OSE edition be capable of this task?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I’ve started to read through your excellent documentation for the OSE edition, I was wondering what route I should take to configure it for the scenario described above? The link
 I am thinking is correct is the “<span style="font-family:"Verdana",sans-serif;color:black;background:white">To configure<span class="m_150039684065140873m-8267404174768494788apple-converted-space"> </span><span class="m_150039684065140873m-8267404174768494788phrase">syslog-ng OSE</span><span class="m_150039684065140873m-8267404174768494788apple-converted-space"> </span>as
 a relay that receives log messages from client hosts and forwards them to a central logserver, see<span class="m_150039684065140873m-8267404174768494788apple-converted-space"> </span></span><a href="https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/configure-servers.html" title="4.2. Procedure – Configuring syslog-ng on server hosts" target="_blank"><i><span style="font-family:"Verdana",sans-serif;color:#1d5987;background:white">Procedure
 4.2, Configuring syslog-ng on server hosts</span></i></a><span style="font-family:"Verdana",sans-serif;color:black;background:white">.”</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Verdana",sans-serif;color:black;background:white"> </span><u></u><u></u></p>
<p class="MsoNormal">Does that sound correct?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Many Thanks<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Kind Regards<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><b>Stuart Martin</b><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#003180">Infrastructure Security Engineer</span></b><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">Surrey Satellite Technology Ltd<br>
Tycho House, 20 Stephenson Road, Surrey Research Park, Guildford, GU2 7YE<br>
<br>
Tel: <a href="tel:+44%201483%20803803" target="_blank">+44 (0)1483 803803</a> | Fax:
<a href="tel:+44%201483%20803804" target="_blank">+44 (0)1483 803804</a> | Email: <a href="mailto:s.martin@sstl.co.uk" target="_blank">s.martin@sstl.co.uk</a> 
<br>
</span><a href="http://www.sstl.co.uk/" title="http://www.sstl.co.uk/" target="_blank"><span style="font-size:10.0pt;font-family:"Arial",sans-serif">www.sstl.co.uk</span></a><span style="font-size:10.0pt;font-family:"Arial",sans-serif"> <a href="http://twitter.com/SurreySat" title="http://twitter.com/SurreySat" target="_blank">http://twitter.<wbr>com/SurreySat</a><span style="color:blue"> </span></span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Webdings;color:#669900">P
</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#669900">Please consider the environment before printing this e-mail</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial",sans-serif;color:#484445">This e-mail and any attachments may contain confidential and privileged information. If you are not the
 intended recipient, please notify the sender <br>
immediately by return e-mail, delete this e-mail and destroy any copies. Any dissemination or use of this information by a person other than the
<br>
intended recipient is unauthorized and may be illegal. </span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><b><span style="color:black"><u></u> <u></u></span></b></p>
<div class="MsoNormal" align="center" style="text-align:center"><b><span style="color:black">
<hr size="2" width="100%" align="center">
</span></b></div>
<p class="MsoNormal"><span style="color:black">The information contained in this message is intended for the addressee only and may contain sensitive information. If you are not the addressee, please delete this message and notify the sender; you should not
 copy or distribute this message or disclose its contents to anyone. Any views or opinions expressed in this message are those of the individual(s) and not necessarily of the organisation. No reliance may be placed on this message without written confirmation
 from an authorised representative of its contents. No guarantee is implied that this message or any attachment is virus free or has not been intercepted and amended.<b><u></u><u></u></b></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><b><span style="color:black">
<hr size="2" width="100%" align="center">
</span></b></div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">
https://lists.balabit.hu/<wbr>mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">
http://www.balabit.com/<wbr>support/documentation/?<wbr>product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/<wbr>syslog-ng-faq</a><br>
<br>
<u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div><div><div class="h5">
<div><br></div>
<font bgcolor="#ffffff" color="#000000"><b><br><hr>
</b>The information contained in this message is intended for the addressee only and may contain sensitive information. If you are not the addressee, please delete this message and notify the sender; you should not copy or distribute this message or disclose its contents to anyone. Any views or opinions expressed in this message are those of the individual(s) and not necessarily of the organisation. No reliance may be placed on this message without written confirmation from an authorised representative of its contents. No guarantee is implied that this message or any attachment is virus free or has not been intercepted and amended.<b><br><hr></b></font>
</div></div></div>

<br>______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/<wbr>mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/<wbr>support/documentation/?<wbr>product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/<wbr>syslog-ng-faq</a><br>
<br>
<br></blockquote></div><br></div>