![]() |
VOOZH | about |
By default, a BYOC (Bring Your Own Cloud) Logs cluster stores all logs in a single index with a single retention policy. With multiple indexes, you can segment logs by defining filter queries and assigning a different retention period to each index. For example, you can retain audit logs for 1 year while keeping debug logs for only 3 days.
To view and manage your BYOC Logs indexes, navigate to the BYOC Logs page in Datadog. Select a cluster and click View Indexes to access the index configuration.
When a log is ingested, BYOC Logs evaluates each index’s filter from top to bottom and routes the log to the first matching index. This means index order matters:
source:security env:production should appear above source:security.* filter at the bottom ensures that no logs are dropped.You can reorder indexes at any time by dragging rows or using the Move to action.
Each index has its own retention period, which determines how long logs are stored before automatic deletion.
To query logs stored in BYOC Logs, select one or more BYOC Logs indexes in the Log Explorer. You can select a specific index to narrow your search, or select all indexes in a cluster to search across them. From the index configuration page, use View in Log Explorer to open a filtered view for a given index.
For more information, see Search BYOC Logs.
Additional helpful documentation, links, and articles:
| |