Page 1 of 1

Nagios Log Server, Connection To elasticSearch DB

Posted: Fri Jun 14, 2019 10:16 am
by Avayahelp
Does anyone know how can i connect to my nagios log server database?

Re: Nagios Log Server, Connection To elasticSearch DB

Posted: Fri Jun 14, 2019 10:32 am
by scottwilkerson
There isn't a database in Log Server, it uses elasticsearch indexes.

What are you trying to accomplish?

Re: Nagios Log Server, Connection To elasticSearch DB

Posted: Mon Jun 17, 2019 7:35 am
by Avayahelp
hi, I'M trying to see whats inside the index, edit something and delete a sensitive value.

Re: Nagios Log Server, Connection To elasticSearch DB

Posted: Mon Jun 17, 2019 7:53 am
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.