Nagios Log Server, Connection To elasticSearch DB
Nagios Log Server, Connection To elasticSearch DB
Does anyone know how can i connect to my nagios log server database?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Log Server, Connection To elasticSearch DB
There isn't a database in Log Server, it uses elasticsearch indexes.
What are you trying to accomplish?
What are you trying to accomplish?
Re: Nagios Log Server, Connection To elasticSearch DB
hi, I'M trying to see whats inside the index, edit something and delete a sensitive value.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios Log Server, Connection To elasticSearch DB
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
************NOTE*************** This cannot be reversed.
by running the following command replacing each of INDEX/TYPE/ID
Code: Select all
curl -XDELETE localhost:9200/INDEX/TYPE/ID