[syslog-ng] Archive module ?
Scot Needy
scotrn at gmail.com
Thu Sep 8 23:39:28 CEST 2016
Thanks Even,
Maybe I’m doing something wrong.
I see some of the headers but not all.
2016-09-08T17:31:17-04:00 <IPADDR> <HOST> %ASA-3-305006: regular translation creation failed for imp src ….
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.
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.
Log > YYYY.MM.DD.HH_compressed_data.
> On Sep 8, 2016, at 5:13 PM, Evan Rempel <erempel at uvic.ca> wrote:
>
> If you write the syslog data to a file with all of the data, then it can be ingested again.
>
> We save the data to the files like
>
> 2016-09-08T00:00:01-07:00 host.name.here mail.info sm-mta[9521]: u887019I009521: milter=mimedefang, action=rcpt, continue
>
> and then we have a syslog-ng pattern database that will turn this back into an "on the wiire" format that can be sent to any syslog port.
>
> 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't need to read the raw files.
>
> Evan.
>
>
> On 09/08/2016 01:32 PM, Scot Needy wrote:
>> Hi All,
>>
>> Is there a better way to archive my syslog data once it’s been received and injected into elk,spunk or whatever ?
>>
>> 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 ?
>>
>> For example: My syslog data on file does not include the original syslog header data .
>>
>> Syslog is just one example.
>>
>>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
More information about the syslog-ng
mailing list