This repository has been archived by the owner on Jan 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
heka.toml
84 lines (66 loc) · 1.73 KB
/
heka.toml
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[hekad]
maxprocs = 2
[Audit]
type = "LogstreamerInput"
log_directory = "/tmp/"
file_match = 'log'
decoder = "audit_decoder"
#Can be tested with standard audit logs too
#log_directory = "/var/log/audit"
#file_match = 'audit.log\.?(?P<Seq>\d*)'
#priority = ["^Seq"]
[audit_decoder]
type = "SandboxDecoder"
script_type = "lua"
filename = "lua_decoders/audit_decoder.lua"
[audit_decoder.config]
type="audit_log"
payload_keep = false
[AuditUniqueCalls]
type = "SandboxFilter"
filename = "lua_filters/unique_items.lua"
ticker_interval = 10
preserve_data = true
message_matcher = "Type == 'audit_log'"
[AuditUniqueCalls.config]
enable_delta = true
message_variable = "Fields[comm]"
title = "Estimated Activities"
preservation_version = 0
[AuditTypeFrequent]
type = "SandboxFilter"
filename = "lua_filters/frequent_items.lua"
ticker_interval = 10
preserve_data = true
message_matcher = "Type == 'audit_log'"
[AuditTypeFrequent.config]
message_variable = "Fields[type]"
max_items = 10000
min_output_weight = 100
reset_days = 1
[RstEncoder]
[LogOutput]
message_matcher = "Type == 'audit_log'" #"TRUE"
encoder = "ESJsonEncoder"
[ESJsonEncoder]
index = "%{Type}-%{2006.01.02}"
es_index_from_timestamp = true
type_name = "%{Type}"
[FileOutput]
message_matcher = "Type == 'audit_log'"
encoder = "ESJsonEncoder"
path = "/tmp/output"
#[ElasticSearchOutput]
#message_matcher = "Type == 'audit_log'"
#server = "http://localhost:9200"
#flush_interval = 5000
#flush_count = 10
#encoder = "ESJsonEncoder"
#[CarbonOutput]
#message_matcher = "Type == 'heka.statmetric'"
#address = "127.0.0.1:2003"
[DashboardOutput]
address = "127.0.0.1:4352"
ticker_interval = 10
working_directory = "dashboard"
static_directory = "/usr/share/heka/dasher"