Re: [rsyslog] Delete log files after sending logs to Elasticsearch

2016-10-27 Thread David Lang
On Mon, 19 Sep 2016, Alec Swan wrote: I am using rsyslog to read log files and send logs to Elasticsearch. I am looking for ideas on how to delete log files after their content is successfully sent to Elasticsearch. rsyslog doesn't have any options to remove a file when it's done processing

Re: [rsyslog] Delete log files after sending logs to Elasticsearch

2016-09-20 Thread Alec Swan
Thanks for sharing your thoughts. I am not using Logstash and hence using fingerprint or logstash plugins are not an option. Alec On Tue, Sep 20, 2016 at 1:42 AM, mosto...@gmail.com wrote: > Working with Elasticsearch you could find many workarounds: > > - ES allows you to

[rsyslog] Delete log files after sending logs to Elasticsearch

2016-09-19 Thread Alec Swan
Hello, I am using rsyslog to read log files and send logs to Elasticsearch. I am looking for ideas on how to delete log files after their content is successfully sent to Elasticsearch. Thanks, Alec ___ rsyslog mailing list