Skip to content

Commit

Permalink
fix: update readme for log file collection (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
harelmo-lumigo authored Dec 25, 2024
1 parent 8ca919a commit f3b51a8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@ spec:
enabled: true # enables log forwarding for pods with tracing injected
```
#### Logging support via pod log files
#### Fetching container logs via files
Workloads that are using runtimes not supported by current Lumigo OTEL distro (e.g. Go, Rust) can still send logs to Lumigo, via logs files from containers that k8s manages on each node in the cluster.
The Lumigo Kubernetes operator will automatically collect logs from those files and send them to Lumigo, once the following setting is applied when installing the operator:
```sh
helm upgrade -i lumigo lumigo/lumigo-operator \
# ...
--set "clusterCollection.logFiles.enabled=true"
--set "clusterCollection.logs.enabled=true"
--set "lumigoToken.value=t_123456789012345678901"
```

Expand All @@ -230,9 +230,8 @@ echo "
lumigoToken:
value: t_123456789012345678901
clusterCollection:
logFiles:
enabled: true
logs:
enabled: true
include:
- namespacePattern: some-ns
podPattern: some-pod-*
Expand Down

0 comments on commit f3b51a8

Please sign in to comment.