Page 1 of 1

NLS Export as CSV

Posted: Sat Feb 10, 2018 9:14 pm
by hyacinth
As we know, there is a menu called "Export as CSV" in LS dashboard which can export collected syslog datas. Can we set the export data function automatically and regularly and to a specified location such as other storage server ?

Re: NLS Export as CSV

Posted: Mon Feb 12, 2018 11:34 am
by cdienger
Export as CSV is a manual option at this time but we can submit a feature request if you'd like.

Re: NLS Export as CSV

Posted: Tue Feb 20, 2018 2:20 am
by hyacinth
@cdienger
Yes, We'd like to submit a feature request that how NLS can export log data to Splunk automatically and regularly with self-defined filter.
Besides, where NLS restore the log data ? how long can the data be restored ?
Thanks !

Re: NLS Export as CSV

Posted: Tue Feb 20, 2018 5:52 pm
by npolovenko
Hi, @hyacinth. cdienger is out of the office this week. I will go ahead and submit a feature request. Please keep in mind that the decision to implement the enhancement is at the sole discretion of our development team.
Besides, where NLS restore the log data ? how long can the data be restored ?
You can go to the Admin menu, then Snapshots And Maintenance and take a look at the "Delete indexes older than" field. If it's set to 0 then NLS will never delete the old history, otherwise, you can specify the number of days.
I think the data is stored in /usr/local/nagioslogserver/elasticsearch/data, but you should not modify anything manually.

Let me know if you have any other questions so far.

Re: NLS Export as CSV

Posted: Fri Feb 23, 2018 4:46 am
by hyacinth
npolovenko wrote:Hi, @hyacinth. cdienger is out of the office this week. I will go ahead and submit a feature request. Please keep in mind that the decision to implement the enhancement is at the sole discretion of our development team.
Besides, where NLS restore the log data ? how long can the data be restored ?
You can go to the Admin menu, then Snapshots And Maintenance and take a look at the "Delete indexes older than" field. If it's set to 0 then NLS will never delete the old history, otherwise, you can specify the number of days.
I think the data is stored in /usr/local/nagioslogserver/elasticsearch/data, but you should not modify anything manually.

Let me know if you have any other questions so far.

Thanks Kyang,
I have found the location of log data, there are five files 0/1/2/3/4 which stored the data, what's the relationship between them ?

Re: NLS Export as CSV

Posted: Fri Feb 23, 2018 12:51 pm
by scottwilkerson
DO NOT interact with these directly, these are lucene shards (not text files) and hold the elasticsearch data.

Log Server has the ability to add an output to the configurations already, go to
Configure -> Global Config -> Click Show Output

There you can add an output block to send to another location, of whatever variety you choose from the following
https://www.elastic.co/guide/en/logstas ... ugins.html