-
Notifications
You must be signed in to change notification settings - Fork 5
/
awslogs.conf
42 lines (37 loc) · 946 Bytes
/
awslogs.conf
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
34
35
36
37
38
39
40
41
42
[general]
state_file = /var/lib/awslogs/agent-state
[/var/log/app/node.log]
log_group_name = app
log_stream_name =
datetime_format = %b %d %H:%M:%S
time_zone = [UTC]
file = /var/log/app/node.log
initial_position = start_of_file
[/var/log/nginx/access.log]
log_group_name = web
log_stream_name =
datetime_format = %b %d %H:%M:%S
time_zone = [UTC]
file = /var/log/nginx/access.log
initial_position = start_of_file
[/var/log/messages]
log_group_name = system
log_stream_name =
datetime_format = %b %d %H:%M:%S
time_zone = [UTC]
file = /var/log/messages
initial_position = start_of_file
[/var/log/system/startup.log]
log_group_name = system
log_stream_name =
datetime_format = %b %d %H:%M:%S
time_zone = [UTC]
file = /var/log/system/startup.log
initial_position = start_of_file
[/var/log/secure]
log_group_name = secure
log_stream_name =
datetime_format = %b %d %H:%M:%S
time_zone = [UTC]
file = /var/log/secure
initial_position = start_of_file