Promtail windows configuration script, binary and config file
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.

30 lines
652 B

  1. server:
  2. http_listen_port: 9080
  3. grpc_listen_port: 0
  4. client:
  5. url: http://10.1.2.113:3100/api/prom/push
  6. scrape_configs:
  7. - job_name: windows
  8. windows_events:
  9. eventlog_name: "Application"
  10. bookmark_path: "./bookmark.xml"
  11. xpath_query: "*"
  12. labels:
  13. job: windows
  14. pipeline_stages:
  15. - json:
  16. expressions:
  17. level: levelText
  18. - job_name: security
  19. windows_event:
  20. eventlog_name: "Security"
  21. bookmark_path: "./bookmark.xml"
  22. xpath_query: "*"
  23. labels:
  24. job: security
  25. pipeline_stages:
  26. - json:
  27. expressions:
  28. level: levelText