Skip to content

[DRAFT] Add docs for Serverless log delivery - #8081

Draft
wajihaparvez wants to merge 5 commits into
elastic:mainfrom
wajihaparvez:audit-logs-serverless
Draft

[DRAFT] Add docs for Serverless log delivery#8081
wajihaparvez wants to merge 5 commits into
elastic:mainfrom
wajihaparvez:audit-logs-serverless

Conversation

@wajihaparvez

Copy link
Copy Markdown
Contributor

Summary

Closes https://github.com/elastic/docs-content-internal/issues/1134

Generative AI disclosure

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes
  • No

@wajihaparvez wajihaparvez self-assigned this Aug 25, 2026
@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

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

@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

Elastic Docs Style Checker (Vale)

Summary: 3 suggestions found

💡 Suggestions (3): Optional style improvements. Apply when helpful.
File Line Rule Message
deploy-manage/monitor/log-delivery/audit-trail.md 19 Elastic.Semicolons Use semicolons sparingly. Consider splitting the sentence or using a comma or conjunction.
deploy-manage/monitor/log-delivery/audit-trail.md 19 Elastic.Semicolons Use semicolons sparingly. Consider splitting the sentence or using a comma or conjunction.
deploy-manage/monitor/log-delivery/audit-trail.md 56 Elastic.Repetition "to" is repeated.

The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

@consulthys consulthys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I've added a few comments below

Comment thread deploy-manage/monitor/log-delivery.md
Comment thread deploy-manage/monitor/log-delivery.md Outdated
Comment thread deploy-manage/monitor/log-delivery.md Outdated
@@ -0,0 +1,51 @@
---
navigation_title: Log delivery

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be "Serverless log delivery" so we make sure that stands out in the navigation? Also why don't we put this under the "Logging" section above it?

Unrelated note: Somewhere in Logging we should also have the new Kibana user activity logs

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, updated title.

I kept the section separate because:

  • Logging section applies to stack, not serverless. I thought serverless log delivery would get buried in so many stack-only pages
  • Logging is mostly about how to configure logs, not how to deliver them. The difference in objective might be confusing
  • When we release delivery for query logs, it might interfere with this Query logging in Elasticsearch page, which specifically says it's unavailable for serverless (side note: will this change? will it be available for serverless now?)

What do you think? I'm happy to discuss this more and move the section if it makes sense. (small note for moving it though: the link we provided for the UI targets the separate Log delivery section. If we move this section under Logging, the UI link would have to change.)

Let me see who worked on the user activity logs docs

@consulthys consulthys Aug 28, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the follow up!

  • The first point is fair, but I'd still love that we find a good way to arrange all these pages since... they are all about "logging".
  • I feel that "configure" and "deliver" are very synonymous, it's just that in Serverless there's less to configure and you can all do it via the UI. Also, this is akin to ECH "Logs and Metrics", which should also somehow be here, but it is under Stack Monitoring.
  • Query logs will be available for Serverless very soon after GA, as well as Kibana user activity logs

Some more feedback:

  • The Logging section contains individual pages for different ES-related logs but a single section for Kibana logs. Why not also grouping the ES logging pages together?
  • Security event audit logging in Security (for self-managed, ECH and ECE) and "Audit trail" here (Serverless only) are also related somehow

I don't want to propose a new hierarchy as I know it is tricky to get this right :-)

Comment thread deploy-manage/monitor/log-delivery/audit-trail.md Outdated
Comment thread deploy-manage/monitor/log-delivery/audit-trail.md Outdated
Comment thread deploy-manage/monitor/log-delivery/audit-trail.md Outdated
Comment thread deploy-manage/monitor/log-delivery/audit-trail.md Outdated
Comment thread deploy-manage/monitor/log-delivery/audit-trail.md Outdated
Comment thread deploy-manage/monitor/log-delivery/audit-trail.md Outdated
Comment thread deploy-manage/monitor/log-delivery/audit-trail.md Outdated
3. For **Audit trail**, complete the following fields.
* In the **Destination** column, select one or more {{sec-serverless}} or {{obs-serverless}} projects to receive the logs.
:::{tip}
We recommend selecting an {{sec-serverless}} project as the destination for your audit trail.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@consulthys can we provide a reason for this?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For two reasons:

  • audit logs are security logs, not observability ones (but can still be searched from O11Y via CPS if needed)
  • who best than our very own Security solution to provide a curated UI + alerts on top of our very own audit logs ;-)

* Ignore filters exclude events *before* delivery. Use them to reduce the volume of delivered data.
* Retention of delivered data is billed on the destination project. Use [AutoOps](/deploy-manage/monitor/autoops/autoops-for-serverless.md) on this project to monitor your ingest rate and storage retained, and adjust accordingly.

For exact rates, refer to [{{sec-serverless}} pricing](https://www.elastic.co/pricing/serverless-security) and [{{obs-serverless}} pricing](https://www.elastic.co/pricing/serverless-observability).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@consulthys should I add the elasticsearch link here as well? Since a source project can be elasticsearch

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently only the destination project incurs charges (i.e. Ingest and storage).
We're still figuring out if the data flowing out of the source project should also be billed or not (leaning towards no for now). And if ever, we might decide to bill that dimension to the destination project (similar to what is done for CPS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants