-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathagent.json.template
34 lines (28 loc) · 1.06 KB
/
agent.json.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Configuration for the Scalyr Agent. For help:
//
// https://www.scalyr.com/help/scalyr-agent-2
{
// Enter a "Write Logs" api key for your account. These are available at https://www.scalyr.com/keys
api_key: "%apiKey%",
// Fields describing this server. These fields are attached to each log message, and
// can be used to filter data from a particular server or group of servers.
server_attributes: {
// Fill in this field if you'd like to override the server's hostname.
serverHost: "%serverHost%",
// You can add whatever additional fields you'd like.
tier: "benchmarking"
instanceType: "%instanceType%",
awsRegion: "%region%",
availabilityZone: "%zone%",
instanceId: "%instanceId%",
groupId: "%groupId%",
groupIndex: "%groupIndex%"
}
// Log files to upload to Scalyr. You can use '*' wildcards here.
logs: [
{ path: "/var/log/s3bench/s3bench.log", attributes: {parser: "s3bench"} },
{ path: "/var/log/s3bench/s3_garbage_collection.log", attributes: {parser: "gclog"} },
],
monitors: [
]
}