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

     1  input {
     2      generator {
     3          message => "Hello world!"
     4          count => 10
     5          add_field => {cluster=> "foo" namespace=>"bar"}
     6      }
     7      beats {
     8          port => 5044
     9      }
    10  }
    11  
    12  output {
    13    loki {
    14      url => "${LOKI_URL}"
    15    }
    16  }