forked from elastic/elastic-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
otel.yml
39 lines (35 loc) · 807 Bytes
/
otel.yml
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
receivers:
filelog:
include: [ /var/log/system.log ]
start_at: beginning
storage: file_storage/filelogreceiver
processors:
resource:
attributes:
- key: service.name
action: insert
value: elastic-otel-test
exporters:
debug:
verbosity: detailed
sampling_initial: 10000
sampling_thereafter: 10000
extensions:
memory_limiter:
check_interval: 1s
limit_mib: 700
spike_limit_mib: 180
health_check:
endpoint: "localhost:13133"
path: "/health/status"
file_storage/filelogreceiver:
create_directory: true
directory: ${env:STATE_PATH}
service:
extensions: [health_check, memory_limiter, file_storage/filelogreceiver]
pipelines:
logs:
receivers: [filelog]
processors: [resource]
exporters:
- debug