Page 1 of 1

export logstash files to separate local hard drive

Posted: Tue Sep 18, 2018 4:28 pm
by HASupport
Hello Support,
Need to export from Nagios Log Server logstash files to local hard drive
would you suggest how we can do it please

Re: export logstash files to separate local hard drive

Posted: Tue Sep 18, 2018 4:48 pm
by scottwilkerson
Are you referring to the Logstash config files?

Re: export logstash files to separate local hard drive

Posted: Tue Sep 18, 2018 6:03 pm
by HASupport
nope
i am referring index logstash file which use to create daily

Re: export logstash files to separate local hard drive

Posted: Wed Sep 19, 2018 7:36 am
by scottwilkerson
Logstash just takes the incoming messages through inputs and converts them into a format that can be put into an elasticsearch index.

If you want to make backups of these elasticsearch indexes this is built in using the Admin -> Snapshots and Maintenance
https://assets.nagios.com/downloads/nag ... enance.pdf

Alternately, if you wanted to setup a separate text output, you can do that in the logstash configuration you can add one by going to
Configure -> Global Config
Click Show Output
Add Output
and then setup your new output based on the available outputs such as
https://www.elastic.co/guide/en/logstas ... -file.html

Re: export logstash files to separate local hard drive

Posted: Thu Sep 20, 2018 4:43 pm
by HASupport
Hi Support, Please understand my requirement /question
I need day wise log file which i need to export the entire logstashfile, please see the attached document

Re: export logstash files to separate local hard drive

Posted: Thu Sep 20, 2018 4:47 pm
by scottwilkerson
This can be done following this doc
https://assets.nagios.com/downloads/nag ... enance.pdf