
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/ac5627ae-fd32-4cc7-bf78-0a1953c18816%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Good morning John,If you are using the last version from Wazuh-Plugin in Kibana (2.1.0_5.5.2) you have three new buttons- Add new agent- Refresh the list of agents- Delete one or more than one agent.You can take a look from the screenshot in this mail where i show you the new options.
On August 25, 2017 at 12:05:00 PM, John Kondur (kongf...@gmail.com) wrote:
Basically I have some clients that I am removing since no longer needed, and I want to purge all the data from the wazuh web interface.I already removed the agents in the command line using /var/ossec/bin/manage_agentsBut is there an easy way to do it with elasticsearch I guess?Thanks
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
{
"query": {
"match": {
"agent.name": {
"query": "Blacksburg133",
"type": "phrase"
}
}
}
}
POST /wazuh*/_delete_by_query
{
"query": {
"match": {
"agent.name": {
"query": "Blacksburg133"
}
}
}
}
{
"took": 17,
"timed_out": false,
"total": 0,
"deleted": 0,
"batches": 0,
"version_conflicts": 0,
"noops": 0,
"retries": {
"bulk": 0,
"search": 0
},
"throttled_millis": 0,
"requests_per_second": -1,
"throttled_until_millis": 0,
"failures": []
}
Hi Dmitriy +1 to this query:
POST wazuh-alerts-*/_delete_by_query
{
"query": {
"match": {
"agent.name": "your agent name"
}
}
}