--
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.
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/2ee0db19-19d9-4fe3-8fd4-155beac1a2cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
.wazuh (one index)
.wazuh-version (one index)
wazuh-monitoring-3.x-* (more than one index using that prefix)
wazuh-alerts-3.x-* (more than one index using that prefix)To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/db64e953-745f-405b-b475-2a8e4bf01101%40googlegroups.com.
# /usr/share/elasticsearch/bin/elasticsearch-plugin install x-pack# systemctl restart elasticsearch # curl localhost:9200/?pretty -u elastic:elastic_password
{
"name" : "5urh-FJ",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "B5rXKBg2Tr-KWwFdbDHJQg",
"version" : {
"number" : "6.2.4",
"build_hash" : "7299dc3",
"build_date" : "2018-02-07T19:34:26.990113Z",
"build_snapshot" : false,
"lucene_version" : "7.2.1",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}# /usr/share/elasticsearch/bin/x-pack/setup-passwords auto# /usr/share/kibana/bin/kibana-plugin install x-packelasticsearch.username: "elastic"
elasticsearch.password: "elastic_password_from_step3"# systemctl restart kibana# curl -XPOST "http://localhost:9200/_xpack/security/role/wazuh-admin" -H 'Content-Type: application/json' -d'
{
"cluster": [ "manage", "manage_index_templates" ],
"indices": [
{
"names": [ ".old-wazuh", ".wazuh", ".wazuh-version", "wazuh-*" ],
"privileges": ["all"]
}
]
}' -u elastic:elastic_password
# curl -XPOST "http://localhost:9200/_xpack/security/role/wazuh-basic" -H 'Content-Type: application/json' -d'
{
"cluster": [],
"indices": [
{
"names": [ ".kibana", ".wazuh", ".wazuh-version", "wazuh-alerts-3.x-*", "wazuh-monitoring-3.x-*" ],
"privileges": ["read"]
}
]
}' -u elastic:elastic_password
# curl -XPOST "http://localhost:9200/_xpack/security/role/wazuh-api-admin" -H 'Content-Type: application/json' -d'
{
"cluster": [],
"indices": [
{
"names": [ ".wazuh" ],
"privileges": ["all"]
}
]
}' -u elastic:elastic_password# curl -XPOST "http://localhost:9200/_xpack/security/user/wazuhsystem" -H 'Content-Type: application/json' -d'
{
"password": "wazuhsystem",
"roles":["wazuh-admin","kibana_system"],
"full_name":"Wazuh System",
"email":"wazuh...@wazuh.com"
}' -u elastic:elastic_password# curl -XPOST "http://localhost:9200/_xpack/security/user/jack" -H 'Content-Type: application/json' -d'
{
"password": "jackjack",
"roles":["wazuh-basic","wazuh-api-admin"],
"full_name":"Jack",
"email":"ja...@wazuh.com"
}' -u elastic:elastic_password# curl -XPOST "http://localhost:9200/_xpack/security/user/john" -H 'Content-Type: application/json' -d'
{
"password": "johnjohn",
"roles":["wazuh-basic"],
"full_name":"John",
"email":"jo...@wazuh.com"
}' -u elastic:elastic_passwordelasticsearch.username: "wazuhsystem"
elasticsearch.password: "wazuhsystem"# systemctl restart kibana