From 4be81c999b616bca8866719e854f8358e00f3ecd Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 18 Oct 2023 12:09:19 +0530 Subject: [PATCH] upload promtail config file --- promtail-config.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 promtail-config.yaml 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