Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/clients/cmd/promtail/promtail-kafka-sasl-plain.yaml

26 lines
547 B

server:
http_listen_port: 9080
grpc_listen_port: 0
clients:
- url: http://localhost:3100/loki/api/v1/push
scrape_configs:
- job_name: kafka-sasl-plain
kafka:
use_incoming_timestamp: false
brokers:
- localhost:29092
authentication:
type: sasl
sasl_config:
mechanism: PLAIN
user: kafkaadmin
password: kafkaadmin-pass
use_tls: false
group_id: kafka_group
topics:
- foo
- ^promtail.*
labels:
job: kafka-sasl-plain