log server storage question

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

log server storage question

Post by benhank »

hey guys is there a measurement we can use to see how much disk space we need if we save 3 months of data for 1,000 window servers?
We are about to add them to our current environment and need to figure out how much disk space we may need.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: log server storage question

Post by cdienger »

This can vary depending on the level of logging, activity, etc... on the Windows machines. The advice I give is to configure a few sources to send data to NLS, let it run a few days(the longer the better) and check the size of the indices(Administration > Cluster Status > Indices) to get a rough idea of "typical" log volume, and then multiple accordingly. That said, I'll give this a go in my lab and let you know what kind of numbers I find. I'm out until Tuesday after today so I'll plan to follow up then. In the meantime maybe someone else can chime in with real world numbers :)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: log server storage question

Post by benhank »

The issue I have is that I cant add servers to NLS, until we get the numbers I am talking about lol.talk about catch 22 eh lol.
I was hoping you guys would already have a few in your dev environment and could pull the info from there.
Is there a way that NLS could show me data/storage usage by device or device type?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: log server storage question

Post by cdienger »

Hey Ben,

Here are the results from my lab test with a couple of lab machines:

logstash-2017.08.01 17,482 events 31.8MB
logstash-2017.07.31 24,119 events 21.2MB
logstash-2017.07.30 24,252 events 21.3MB
logstash-2017.07.29 24,050 events 21.3MB
logstash-2017.07.28 24,766 events 22.1MB

Luckily dev was able to provide a larger sample. See attached. It is the output of the command:

Code: Select all

curl -XGET 'http://localhost:9200/_stats?pretty'
Of interest is the primary_size_in_bytes and num_docs. For example:

Code: Select all

       "logstash-2017.07.26": {
            "index": {
                "primary_size_in_bytes": 1649725355,
                "size_in_bytes": 3297816935
            },
            "translog": {
                "operations": 0
            },
            "docs": {
                "num_docs": 1976744,
                "max_doc": 1976744,
                "deleted_docs": 0
The index size is ~1.6gb for ~2million events from 37 Windows machines. The size_in_bytes is the primary size plus a replicate for redundancy. https://www.youtube.com/watch?v=wORXARN ... u.be&t=280 illustrates how multiple instance of NLS will distribute shards between themselves.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: log server storage question

Post by benhank »

THANKS MAN! THANKS!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: log server storage question

Post by cdienger »

:) Let us know if you have any further questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked