Skip to content

Commit

Permalink
Add sample agent.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvc committed Jul 30, 2020
1 parent 1e43b22 commit efd1cea
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions x-pack/elastic-agent/_meta/elastic-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@ outputs:
password: changeme

inputs:
- type: synthetics/monitors
streams:
- type: http
name: MyHTTPMonitor
id: my-id
target: "https://elastic.co"
schedule: "@every 10s"
http: # example HTTP specific option
user: blah
password: something else
- type: icmp
name: MyICMPMonitor
id: my-icmp-id
target: "elastic.co"
schedule: "@every 10s"
- type: tcp
name: MyTCPMonitor
id: my-tcp-id
target: "elastic.co:80"
schedule: "@every 10s"
- type: system/metrics

# The only two requirement are that it has only characters allowed in an Elasticsearch index name
Expand Down

0 comments on commit efd1cea

Please sign in to comment.