Nagios Log Server, Connection To elasticSearch DB

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
Avayahelp
Posts: 5
Joined: Wed Jan 16, 2019 1:31 pm

Nagios Log Server, Connection To elasticSearch DB

Post by Avayahelp »

Does anyone know how can i connect to my nagios log server database?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Log Server, Connection To elasticSearch DB

Post by scottwilkerson »

There isn't a database in Log Server, it uses elasticsearch indexes.

What are you trying to accomplish?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Avayahelp
Posts: 5
Joined: Wed Jan 16, 2019 1:31 pm

Re: Nagios Log Server, Connection To elasticSearch DB

Post by Avayahelp »

hi, I'M trying to see whats inside the index, edit something and delete a sensitive value.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Log Server, Connection To elasticSearch DB

Post by scottwilkerson »

Data is not designed to be editied, but you can delete a record from the CLI if you look at the entry and get the _index _type and _id fields

by running the following command replacing each of INDEX/TYPE/ID

Code: Select all

curl -XDELETE localhost:9200/INDEX/TYPE/ID
************NOTE*************** This cannot be reversed.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked