- Shield Reference for 2.x and 1.x:
- Introduction
- Getting Started with Shield
- How Shield Works
- Installing Shield
- Setting Up User Authentication
- Managing Users in an esusers Realm
- Configuring Role-based Access Control
- Configuring Auditing
- Securing Communications with Encryption and IP Filtering
- Configuring Clients and Integrations
- Managing Shield Licenses
- Example Shield Deployments
- Reference
- Limitations
- Troubleshooting
- Setting Up a Certificate Authority
- Release Notes
From version 5.0 onward, Shield is part of X-Pack. For more information, see
Securing the Elastic Stack.
Enable Auditing
editEnable Auditing
editWhen you enable auditing, Shield stores a record of attempted and successful interactions with your Elasticsearch cluster. You can use this information to keep track of who is doing what to your cluster and identify potential security issues.
To enable auditing, add the following setting to elasticsearch.yml
:
shield.audit.enabled: true
By default, events are logged to a dedicated elasticsearch-access.log
file in ES_HOME/logs
. You can also store the events in an Elasticsearch index for easier analysis and control what events
are logged. For more information, see Configuring Auditing.
Was this helpful?
Thank you for your feedback.