Created
May 26, 2021 19:03
-
-
Save thecraftman/d35cd48980c3c824be4dc304a471efcc to your computer and use it in GitHub Desktop.
Heartbeat Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable index lifecycle management (ILM) | |
setup.ilm.enabled: false | |
heartbeat.monitors: | |
- type: icmp | |
schedule: '*/5 * * * * * *' | |
hosts: ["myhost"] | |
id: my-icmp-service | |
name: My ICMP Service | |
- type: tcp | |
schedule: '@every 5s' | |
hosts: ["myhost:12345"] | |
mode: any | |
id: my-tcp-service | |
- type: http | |
schedule: '@every 5s' | |
urls: ["http://example.net"] | |
service.name: apm-service-name | |
id: my-http-service | |
name: My HTTP Service | |
output.elasticsearch: | |
hosts: [""$YOUR_AXIOM_URL:443/api/v1/datasets/<dataset>/elastic"] | |
# api_key can be your ingest or personal token | |
api_key: "user:token" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment