export logstash files to separate local hard drive

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
HASupport
Posts: 19
Joined: Wed Apr 11, 2018 2:12 pm

export logstash files to separate local hard drive

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: export logstash files to separate local hard drive

Post by scottwilkerson »

Are you referring to the Logstash config files?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
HASupport
Posts: 19
Joined: Wed Apr 11, 2018 2:12 pm

Re: export logstash files to separate local hard drive

Post by HASupport »

nope
i am referring index logstash file which use to create daily
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: export logstash files to separate local hard drive

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
HASupport
Posts: 19
Joined: Wed Apr 11, 2018 2:12 pm

Re: export logstash files to separate local hard drive

Post 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
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: export logstash files to separate local hard drive

Post by scottwilkerson »

This can be done following this doc
https://assets.nagios.com/downloads/nag ... enance.pdf
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked