LogDNA Output 🔗︎

Overview 🔗︎

This plugin has been designed to output logs to LogDNA. Example Deployment: Transport Nginx Access Logs into LogDNA with Logging Operator

Configuration 🔗︎

LogDNA 🔗︎

Send your logs to LogDNA 🔗︎

Variable Name Type Required Default Description
api_key string Yes - LogDNA Api key
hostname string Yes - Hostname
app string No - Application name
tags string No - Comma-Separated List of Tags, Optional
request_timeout string No 30 s HTTPS POST Request Timeout, Optional. Supports s and ms Suffices
ingester_domain string No https://logs.logdna.com Custom Ingester URL, Optional
ingester_endpoint string No /logs/ingest Custom Ingester Endpoint, Optional
buffer *Buffer No - Buffer

Example LogDNA filter configurations 🔗︎

apiVersion: logging.banzaicloud.io/v1beta1
kind: Output
  name: logdna-output-sample
    api_key: xxxxxxxxxxxxxxxxxxxxxxxxxxx
    hostname: logging-operator
    app: my-app
    tags: web,dev
    ingester_domain https://logs.logdna.com
    ingester_endpoint /logs/ingest

Fluentd Config Result 🔗︎

<match **>
   @type logdna
   @id test_logdna
   api_key xxxxxxxxxxxxxxxxxxxxxxxxxxy
   app my-app
   hostname logging-operator