github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/clients/cmd/logstash/loki.conf (about)

     1  input {
     2      beats {
     3          port => 5044
     4      }
     5  }
     6  
     7  output {
     8    loki {
     9      url => "http://localhost:3100/loki/api/v1/push"
    10  
    11      #tenant_id => "fake" #default none
    12  
    13      #message_field => "message" #default message
    14  
    15      # If include_fields is set, only fields in this list will be sent to Loki as labels.
    16      #include_fields => ["service","host","app","env"] #default empty array, all labels included.
    17  
    18      #batch_wait => 1 ## in seconds #default 1 second
    19  
    20      #batch_size => 102400 #bytes #default 102400 bytes
    21  
    22      #min_delay => 1
    23  
    24      #max_delay => 300
    25  
    26      #retries => 10
    27  
    28      # Basic auth credentials
    29      #username => "test"
    30  
    31      #password => "test"
    32  
    33      # TLS config
    34      # cert => /path/to/certificate.pem
    35  
    36      # key => /path/to/key.key
    37  
    38      # ca_cert => /path/to/ca.pem
    39  
    40      # insecure_skip_verify => false
    41    }
    42  }