<div dir="ltr"><div class="gmail_extra">Hi Scot,</div><div class="gmail_extra"><br></div><div class="gmail_extra">syslog-ng in its premium edition offers logstore:</div><div class="gmail_extra"><a href="https://www.balabit.com/documents/syslog-ng-pe-6.0-guides/en/syslog-ng-pe-guide-admin/html-single/index.html#configuring-destinations-logstore">https://www.balabit.com/documents/syslog-ng-pe-6.0-guides/en/syslog-ng-pe-guide-admin/html-single/index.html#configuring-destinations-logstore</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">Disclaimer: I&#39;m employed by Balabit (being the product manager of syslog-ng there)  I don&#39;t want to push anything here, the only reason I wrote this is because I felt there is an exact match with what you required and by checking the above documentation you can at least see whether this is indeed the functionality what you are after.</div><div class="gmail_extra"><br></div><div class="gmail_extra">/Istvan</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Date: Thu, 8 Sep 2016 21:56:55 -0400<br>
From: Scot Needy &lt;<a href="mailto:scotrn@gmail.com">scotrn@gmail.com</a>&gt;<br>
Subject: Re: [syslog-ng] Archive module ?<br>
To: Syslog-ng users&#39; and developers&#39; mailing list<br>
        &lt;<a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a>&gt;<br>
Message-ID: &lt;<a href="mailto:3E22C1C9-9275-41F4-A583-F140CAF611A6@gmail.com">3E22C1C9-9275-41F4-A583-<wbr>F140CAF611A6@gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
<br>
That looks like it would work but if the source isn?t syslog data ?<br>
<br>
I pondered this question when looking at the disk buffer settings in 3.8.<br>
If my data is in ES, MySQL or some other parsed presentation platform then all I really need to write out blocks of raw data to disk and archive for SOX compliance.<br>
<br>
Let the storage archive, compress, encrypt and de-dup.<br>
<br>
Just<br>
<br>
<br>
&gt; On Sep 8, 2016, at 5:48 PM, Evan Rempel &lt;<a href="mailto:erempel@uvic.ca">erempel@uvic.ca</a>&gt; wrote:<br>
&gt;<br>
&gt; You would have to use a syslog-ng template defined as<br>
&gt;<br>
&gt; &quot;&lt;$PRI&gt;$ISO_DATE $FULLHOST $MSGHDR$MESSAGE\n&quot;<br>
&gt;<br>
&gt; and that would be the &quot;on the wire&quot; format. The you can netcat this to the syslog port which would replay the log.<br>
&gt;<br>
&gt; Evan.<br>
&gt;<br>
&gt; On 09/08/2016 02:39 PM, Scot Needy wrote:<br>
&gt;&gt; Thanks Even,<br>
&gt;&gt;<br>
&gt;&gt;  Maybe I?m doing something wrong.<br>
&gt;&gt; I see some of the headers but not all.<br>
&gt;&gt;<br>
&gt;&gt; 2016-09-08T17:31:17-04:00 &lt;IPADDR&gt; &lt;HOST&gt; %ASA-3-305006:  regular translation creation failed for imp src ?.<br>
&gt;&gt;<br>
&gt;&gt; I guess what I was looking for is something that I could write blocks of data to and read from irregardless of the type of data.<br>
&gt;&gt; Something almost like tcpdump or buffer that could rotate every hour or so and then be used to re-play directly back into syslog-ng.<br>
&gt;&gt;<br>
&gt;&gt; Log &gt; YYYY.MM.DD.HH_compressed_data.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; On Sep 8, 2016, at 5:13 PM, Evan Rempel &lt;<a href="mailto:erempel@uvic.ca">erempel@uvic.ca</a>&gt; &lt;mailto:<a href="mailto:erempel@uvic.ca">erempel@uvic.ca</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; If you write the syslog data to a file with all of the data, then it can be ingested again.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; We save the data to the files like<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 2016-09-08T00:00:01-07:00 host.name.here <a href="http://mail.info" rel="noreferrer" target="_blank">mail.info</a> sm-mta[9521]: u887019I009521: milter=mimedefang, action=rcpt, continue<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; and then we have a syslog-ng pattern database that will turn this back into an &quot;on the wiire&quot; format that can be sent to any syslog port.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Alternatively, you could save it in the file as the original format, and then it can just be sent back to syslog when you need to. Human readablility is not quite as good, but if you have the data in splunk or whatever, then humans don&#39;t need to read the raw files.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Evan.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 09/08/2016 01:32 PM, Scot Needy wrote:<br>
&gt;&gt;&gt;&gt; Hi All,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Is there a better way to archive my syslog data once it?s been received and injected into elk,spunk or whatever ?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;  I see how I can log my data to flat files using date macros then compress and archive as normal data but is there a better way to write out the data in the same format it was received to facilitate re-injesting ?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; For example: My syslog data on file does not include the original syslog header data .<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Syslog is just one example.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; ______________________________<wbr>______________________________<wbr>__________________<br>
&gt;&gt;&gt; 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> &lt;<a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/<wbr>mailman/listinfo/syslog-ng</a>&gt;<br>
&gt;&gt;&gt; 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> &lt;<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>&gt;<br>
&gt;&gt;&gt; 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> &lt;<a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/<wbr>syslog-ng-faq</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>______________________________<wbr>__________________<br>
&gt;&gt; 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> &lt;<a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/<wbr>mailman/listinfo/syslog-ng</a>&gt;<br>
&gt;&gt; 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> &lt;<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>&gt;<br>
&gt;&gt; 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> &lt;<a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/<wbr>syslog-ng-faq</a>&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Evan Rempel                                      <a href="mailto:erempel@uvic.ca">erempel@uvic.ca</a> &lt;mailto:<a href="mailto:erempel@uvic.ca">erempel@uvic.ca</a>&gt;<br>
&gt; Senior Systems Administrator                        <a href="tel:250.721.7691" value="+12507217691">250.721.7691</a><br>
&gt; Data Centre Services, University Systems, University of Victoria<br>
&gt; ______________________________<wbr>______________________________<wbr>__________________<br>
&gt; 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>
&gt; 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>
&gt; 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>
&gt;<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.balabit.hu/pipermail/syslog-ng/attachments/20160908/552cf5bf/attachment.htm" rel="noreferrer" target="_blank">http://lists.balabit.hu/<wbr>pipermail/syslog-ng/<wbr>attachments/20160908/552cf5bf/<wbr>attachment.htm</a><br>
<br>
------------------------------<br>
<br>
______________________________<wbr>_________________<br>
syslog-ng maillist  -  <a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a><br>
<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>
<br>
<br>
End of syslog-ng Digest, Vol 137, Issue 11<br>
******************************<wbr>************<br>
</blockquote></div><br></div></div>