Skip to content

Kibana audit logs can be shipped to an OpenTelemetry (OTLP) endpoint #7634

Closed
elastic/kibana
#293560

Description

@florent-leborgne

Summary

PR #280193 refines the transforms the core otel log appender applies to Kibana security audit records based on project-team testing feedback, including promoting resource.attribute values to regular log attributes, and adjusts the audit service wiring. It confirms that shipping Kibana audit logs through the otel appender is an actively maturing 9.6 capability: at HEAD, xpack.security.audit.appender accepts the full core logging appender schema (coreConfig.logging.appenders), which includes the otel type. This specific PR is release_note:skip and changes only the shape of emitted records, but the surrounding feature has a docs discrepancy.

Why this needs docs: The PR itself is an internal output-shaping refinement, but it exposes that the audit appender docs list an appender type set that no longer matches the schema once OTel audit logging ships in 9.6.

Resources

  • PR #280193 — [OTel][Audit Log] Changes to OTel Audit Logging from testing feedback

Availability

Channel Details
Stack v9.6.0
Serverless N/A
Feature flag None — active by default

Created with Docs Quest Scanner by @florent-leborgne

Suggested edits

Security settings in Kibana > Audit logging settings > xpack.security.audit.appender.type

  • What the docs say: Required. Specifies where audit logs should be written to. Allowed values are console, file, or rolling-file.
  • What to add: Once OTel audit logging ships, this allowed-values list is factually incomplete: the audit appender schema at HEAD accepts the core logging appenders, including otel, so audit logs can be shipped to an OTLP endpoint. Add otel to the allowed values with a cross-link to the otel appender settings on the Logging settings page (which already documents url, protocol, headers, ssl, and attributes), and scope the addition with an applies_to tag. Confirm with the Kibana Security team whether the capability is GA or preview in 9.6 before publishing. Stack only, from 9.6.0 (not available in serverless).

Activity

  1. added
    Team:SKI
    on Jul 29, 2026
  2. added
    needs-team
    on Jul 29, 2026
  3. github-actions commented on Jul 29, 2026

    @github-actions
    Contributor

    Elastic Docs AI Menu

    Check one box to run an AI workflow for this issue.

    Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

  4. removed
    needs-team
    on Jul 29, 2026
  5. added
    docs-agent
    and removed
    docs-agent
    on Aug 4, 2026
  6. github-actions commented on Aug 4, 2026

    @github-actions
    Contributor

    ✅ docs-agent-experimental finished processing this issue.

    Declined issue #7634: the documentation source (security-settings.yml) lives in elastic/kibana, not docs-content, so this workflow cannot edit it. Also flagged that GA/preview status for 9.6 needs Security team confirmation. Commented and labeled docs-agent-declined; no file changes or PR made.

  7. github-actions commented on Aug 4, 2026

    @github-actions
    Contributor

    This issue can't be handled autonomously by this workflow: the documentation source for xpack.security.audit.appender.type (the security-settings.yml referenced in the issue) lives in the elastic/kibana repository (docs/reference/configuration-reference/security-settings.yml), not in docs-content, so it's outside this workflow's writable scope. Separately, the suggested edit also needs Security team confirmation on whether OTel audit logging is GA or preview in 9.6 before the applies_to scoping can be set correctly. A human should open the change directly in elastic/kibana (or confirm cross-repo write access) and confirm the release status with the Security team.

    Generated by 🧪 docs-agent-experimental for #7634 · sonnet50 · 37.1 AIC · ⌖ 6.39 AIC · ⊞ 9.9K · ◷

  8. added
    docs-agent-declined
    on Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Team:SKIdocs-agentdocs-agent-declined

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions