I wanna kick ELK to the curb!

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

I wanna kick ELK to the curb!

Post by benhank »

How would I set up NLS to pull in old logs and data that has already been processed by my ELK stack?
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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: I wanna kick ELK to the curb!

Post by abrist »

This is a good question. I am going to pull in a dev on this one. More shortly.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: I wanna kick ELK to the curb!

Post by scottwilkerson »

Here's the quick way to accomplish this..

Add the following input to just ONE instance of your Nagios Log Server cluster
Admin -> PER INSTANCE (ADVANCED) -> Select 1 instance -> Add Input
Then, based on this input you will add something like the following to connect to your OLD ELK server

Code: Select all

input {
  # Read all documents from Elasticsearch matching the given query
  elasticsearch {
    host => "YOUR_OLD_SERVER_HOSTNAME"
    size => 10000
  }
}
Then, Apply configuration, and all of data will be pulled into Log Server from your existing ELK stack.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: I wanna kick ELK to the curb!

Post by benhank »

all set can be locked
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
Locked