Elastic tools for Ansible¶
Github: https://github.com/devopsmanagereu/ansible-plugin-execute-kibana-dev-tools-console-commands
This ansible plugin allows you to execute Kibana Dev Tools Console files.
Example:
POST /_security/role/logstash_writer
{
"cluster": [
"monitor"
],
"indices": [
{
"names": [
"logs-*"
],
"privileges": [
"write",
"create_doc",
"create_index",
"create",
"index",
"monitor",
"read"
],
"field_security": {
"grant": [
"*"
],
"except": []
},
"allow_restricted_indices": false
}
],
"description": "Writes data to elastisearch"
}