Configure AutoI to collect selected pod or node logs and export them to OpsRamp.
Before you begin
- Confirm the collector can access the selected log sources.
- Review log content for sensitive data.
Log authentication and endpoint details are managed by the product. You do not need to retrieve or configure regional authentication or log endpoints, or confirm OTLP/gRPC support for a log endpoint. Configure only the documented log-collection options and prerequisites for your deployment.
Enable the log pipeline
Set:
logPipeline:
enabled: true
Info
Enabling the log pipeline alone does not collect logs. AWaveClusterLogsConfig resource must select the sources.Configure pod logs
Inspect existing wcai-logs resources first. If multiple log resources exist, the oldest resource can take precedence. Update the active resource instead of creating duplicates.
apiVersion: autoi.config.opsramp.com/v1
kind: WaveClusterLogsConfig
metadata:
name: pod-logs
namespace: opsramp-autoi
spec:
enable: true
namespaces:
include: [team-a]
exclude: [kube-system, opsramp-autoi]
logLevel: INFO
Save the resource as logs.yaml and apply it:
kubectl apply -f logs.yaml
Node logs require applicable nodeLogs entries, approved host paths, and host read permissions.
Verify log collection
kubectl get wcai-logs -n opsramp-autoi
kubectl logs -n opsramp-autoi <eworker-pod> -c otel-collector
Verify that expected logs reach OpsRamp. A running collector alone does not confirm log delivery.
If logs are missing, check:
logPipeline.enabled- Active
wcai-logsresource - Included and excluded namespaces
- Host paths and read permissions
- DNS, TLS, and outbound connectivity
- Collector logs