diff --git a/promtail-config.yaml b/promtail-config.yaml new file mode 100644 index 0000000..c711c7e --- /dev/null +++ b/promtail-config.yaml @@ -0,0 +1,18 @@ +server: + http_listen_port: 9080 + grpc_listen_port: 0 + +client: + url: http://10.22.13.38:3100/api/prom/push + +scrape_configs: + - job_name: windows: + eventlog_name: "Application" + bookmark_path: "./bookmark.xml" + xpath_query: "*" + labels: + job: windows + pipeline_stages: + - json: + expressions: + level: levelText