forked from elastic/ecs-mapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
beats.yml
68 lines (68 loc) · 1.43 KB
/
beats.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
processors:
- timestamp:
field: some_timestamp_field
target_field: "@timestamp"
layouts: UNIX_MS
timezone: UTC
ignore_missing: true
ignore_failure: true
- timestamp:
field: some_other_timestamp
target_field: "@timestamp"
layouts: UNIX_MS
timezone: UTC
ignore_missing: true
ignore_failure: true
- timestamp:
field: some_new_timestamp
target_field: destination_timestamp
layouts: UNIX
timezone: UTC
ignore_missing: true
ignore_failure: true
- copy_fields:
fields:
- from: srcip
to: source.address
- from: srcip
to: source.ip
- from: new_event.srcip
to: source.ip
- from: destip
to: destination.address
- from: destport
to: destination.port
- from: ts
to: timestamp
ignore_missing: true
fail_on_error: false
- rename:
fields:
- from: srcport
to: source.port
- from: action
to: event.action
- from: duration
to: event.duration
- from: user_agent
to: user_agent.original
- from: log_level
to: log.level
- from: eventid
to: event.id
- from: hostip
to: host.ip
ignore_missing: true
fail_on_error: false
- convert:
fields:
- from: source.port
type: long
- from: destination.port
type: long
- from: event.duration
type: float
- from: event.id
type: string
ignore_missing: true
fail_on_error: false