config.yaml 642 B

123456789101112131415
  1. # The following entry demonstrates
  2. # - endpoint: The URL on which logs will be forwarded based on the configured pipeline
  3. # - apitoken: Configuring the API Token as an authorization mechanism.
  4. logicmonitor/apitoken:
  5. endpoint: https://company.logicmonitor.com/rest
  6. api_token:
  7. access_id: "accessid"
  8. access_key: "accesskey"
  9. # The following entry demonstrates
  10. # - endpoint: The URL on which logs will be forwarded based on the configured pipeline
  11. # - headers: Passing bearer token in headers for authorization.
  12. logicmonitor/bearertoken:
  13. endpoint: https://company.logicmonitor.com/rest
  14. headers:
  15. Authorization: Bearer <token>