Logging
NudgeBee integrates with your existing logging backends to provide instant log context during automated root cause analysis (RCA) and incident triage. Instead of streaming raw log streams out of your cluster to a third-party service, the NudgeBee Agent runner acts as an authenticated in-cluster query proxy, fetching only the targeted log slices needed to investigate specific alert windows.
Supported Logging Providers
The runner natively proxies queries to standard logging engines and API-compatible platforms:
- Grafana Loki: Query logs via LogQL over HTTP API. Supports monolithic, scalable, and microservices/gateway deployments.
- Elasticsearch & OpenSearch (ELK Stack): Query logs via Elasticsearch DSL (
/_search) or OpenSearch PPL (/_plugins/_ppl). Supports basic auth, API keys, and custom CA certs. - SigNoz: Query logs and autocomplete attributes via SigNoz v3 API (
/api/v3/query_range). - Logz.io: OpenSearch-compatible endpoint authenticated via
X-API-TOKEN. - Last9: Loki-compatible endpoint authenticated via Basic Auth.
Provider Selection Precedence
If multiple logging backends are defined in your values.yaml, the runner evaluates and activates a single primary log provider using the following strict precedence hierarchy:
Pinot → Elasticsearch / OpenSearch → SigNoz → Grafana Loki
(Highest) (Lowest)
- Elasticsearch over Loki: If both
runner.es.enabled: trueandrunner.loki.urlare set, the runner selects Elasticsearch. - SigNoz over Loki: If
runner.signoz.urlis populated, it takes precedence overrunner.loki.url. - Loki as Fallback: Loki is only evaluated when Pinot, Elasticsearch, and SigNoz are not configured.
- To switch to Loki when an Elasticsearch URL was previously configured, explicitly disable Elasticsearch (
runner.es.enabled: false).
Troubleshooting Checklist
When Agent Health in the NudgeBee Console displays Logs: Disconnected, follow this four-step diagnostic workflow:
- Check Active Provider & Helm Values:
Verify which provider is active by checking the runner logs:
kubectl logs -n nudgebee-agent deploy/nudgebee-agent-runner | grep 'logs provider'
logs provider selectednames the provider NudgeBee uses;logs provider: none configuredmeans none is set. - Test Network Reachability:
Run an in-cluster curl test from the
nudgebee-agentnamespace to confirm that CoreDNS resolves the logging service and that noNetworkPolicyblocks egress on the logging port (e.g.3100or9200). - Verify Header Syntax:
Ensure multi-tenant headers and credentials in
runner.loki.headersorrunner.es.headersuse semicolons (;) as delimiters, not commas. - Follow Provider-Specific Diagnostic Guides: