Skip to content

Commit d6a275c

Browse files
committed
add note about siem integration
1 parent 25125fb commit d6a275c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/admin/observability/logs.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ Learn more about how to apply these environment variables in [docker-compose](/a
1818

1919
## Log format
2020

21-
A Sourcegraph service's log output format is configured via the environment variable `SRC_LOG_FORMAT`. The valid values are:
21+
A Sourcegraph service's log output format is configured via the environment variable `SRC_LOG_FORMAT`. This design facilitates integration with external log aggregation systems and SIEM tools for centralized analysis, monitoring, and alerting.
22+
The valid values are:
2223

2324
* `condensed`: Optimized for human readability.
2425
* `json`: Machine-readable JSON format.
@@ -71,7 +72,7 @@ Note that this will also affect child scopes. So in the example you will also re
7172

7273
## Log sampling
7374

74-
Sourcegraph services that have migrated to the [new internal logging standard](/dev/how-to/add_logging) have log sampling enabled by default.
75+
Sourcegraph services have log sampling enabled by default.
7576
The first 100 identical log entries per second will always be output, but thereafter only every 100th identical message will be output.
7677

7778
This behaviour can be configured for each service using the following environment variables:

0 commit comments

Comments
 (0)