NLS stopped working

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: NLS stopped working

Post by WillemDH »

Scott,

Attached screenshot of the very nice concealed instance information.. :)

Could you tell me how much data you think we should be able to handle daily with two nodes? Is there some way to see how much data each source uses? As we have several 'customers', it would be nice to be able to calculate the cost per source.

Grtz

Willem
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NLS stopped working

Post by scottwilkerson »

WillemDH wrote:Could you tell me how much data you think we should be able to handle daily with two nodes?
This is somewhat a loaded question as with many items, the answer is, it depends. Below are some of the factors it depends on:
  • What type of filters (and quantity) are added to the logstash config
    Speed of Disks
    Amount of RAM
    Quantity of people querying the data
    How even the data comes in (bursty or steady stream)
One thing I will point out, performance wise, is that there is only a marginal benefit of 2 nodes over a single as all data is indexed on both instances, the real load reduction benefit comes with 3+ nodes as the indexing will always only happen on 2 instances.
WillemDH wrote:Is there some way to see how much data each source uses?
Data usage by source is not available. The closest you can really get would be the quantity of docs per source
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: NLS stopped working

Post by WillemDH »

Ok, thanks. We will not have any budget left this year to buy other nodes I fear. My management wants to first see some results from it. I had my presentation today by the way and it all worked fine. So first impression for my 30 colleagues is ok.
How would I see the number of documents per source? With a document, do you mean a log entry? If so, I guess a dashboard with a list and count of number of alerts would be it right?
Nagios XI 5.8.1
https://outsideit.net
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NLS stopped working

Post by scottwilkerson »

WillemDH wrote:How would I see the number of documents per source? With a document, do you mean a log entry? If so, I guess a dashboard with a list and count of number of alerts would be it right?
Yes, I meant log entry. And yes, you can create a dashboard, taking a clue from the default "Top Sources and Types" dashboard, the "Top Hosts" panel in the upper gives exactly this information, however you would likely want to edit it so that it displays more than 10.

Configure -> Panel Tab -> Length = 99999
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: NLS stopped working

Post by WillemDH »

Ok, that would indeed give an idea of how much % of our storage is taken by each source. As the cost of storage tends to grow quickly we would need to be able to see who consumes what.

I have one more question, is there a way to configure data retention per source? We have some devices, like our firewall of which we need to save the logs fro at least one year (legally). Other sources such as our ESXi server which generate huge amount of logs are less critical and we would only need to save their logs for one month, (as it would just cost too much)

Is this possible somehow or is log retention a global setting?
Nagios XI 5.8.1
https://outsideit.net
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NLS stopped working

Post by tmcdonald »

I don't believe this is possible, but I will defer to a developer for specifics. The reason I don't think it is possible is because we don't discriminate where a log comes from when it gets stored in an index - all indices are based on the date regardless of what goes in them. It should be possible in the ELK stack itself with inputs, but how that would work within Logserver would take some time to figure out.
Former Nagios employee
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NLS stopped working

Post by scottwilkerson »

I will mention it is on the roadmap to build a section for the admins to delete items based on query.

It will work something like this:

Create a query for items you will want to prune

Setup length of time to keep items matching query (e.g. X min, or X hours, or X days)

A job will be scheduled that will prune all data older than time specified that matches Query/filter specified.


Does this sound like it would fit the bill?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: NLS stopped working

Post by WillemDH »

Scott,

The solution you propose would work for us. If we can schedule a job which purges the data from certain sources, this would be almost the same as setting retention per source. So that would fit the bill. Do you want me to make a feature request for this or does it already exists?

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NLS stopped working

Post by tmcdonald »

I could create it internally. Anything you wanna add or are all the details here?
Former Nagios employee
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: NLS stopped working

Post by WillemDH »

Trevor,

If what Scott proposes
Create a query for items you will want to prune

Setup length of time to keep items matching query (e.g. X min, or X hours, or X days)

A job will be scheduled that will prune all data older than time specified that matches Query/filter specified.
Is done well, all the info can be found in this thread.

Is there a separate tracker for Nagios Log Server?

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
Locked