Bird
Raised Fist0

If audit logging is enabled but no audit events appear in the logs, which configuration issue is most likely?

medium📝 Command Output Q5 of Q15
Elasticsearch - Security
If audit logging is enabled but no audit events appear in the logs, which configuration issue is most likely?
AThe Elasticsearch cluster is in read-only mode
BThe audit outputs setting is missing or empty
CThe cluster has no data nodes
DThe JVM heap size is too small
Step-by-Step Solution
Solution:
  1. Step 1: Check audit logging prerequisites

    Audit logging requires outputs to be defined to store or display events.
  2. Step 2: Identify missing outputs

    If xpack.security.audit.outputs is missing or empty, no events are recorded anywhere.
  3. Final Answer:

    The audit outputs setting is missing or empty -> Option B
  4. Quick Check:

    Audit logging needs outputs to write events [OK]
Quick Trick: Audit outputs must be set to capture events [OK]
Common Mistakes:
MISTAKES
  • Blaming cluster mode or JVM heap for missing audit logs
  • Ignoring the outputs configuration

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes