Repository navigation
Expand file tree
/
Copy pathoptions.toml
More file actions
67 lines (60 loc) · 2.05 KB
/
Copy pathoptions.toml
File metadata and controls
67 lines (60 loc) · 2.05 KB
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
[options.data_dir]
type = "string"
examples = ["/var/lib/vector"]
description = """\
The directory used for persisting Vector state, such as on-disk buffers, \
file checkpoints, and more. Please make sure the Vector project has write \
permissions to this dir.\
"""
[options.dns_servers]
type = "[string]"
examples = [["0.0.0.0:53"]]
description = """\
The list of DNS servers Vector will use to resolve DNS requests. When set \
Vector will ignore the system configuration and use only the list of DNS \
servers provided. If this option is not set then Vector will attempt to use \
the system configuration.\
"""
[options.log_schema]
type = "table"
description = """\
The default log schema that all Vector components operate on. See the \
[log data model page][docs.data-model.log] for more info.
"""
[options.log_schema.children.host_key]
type = "string"
default = "host"
examples = ["host", "@host", "instance", "machine"]
description = """\
The key used to hold the log host. See the \
[log data model page][docs.data-model.log#host] for more info.\
"""
[options.log_schema.children.message_key]
type = "string"
default = "message"
examples = ["message", "@message", "msg"]
description = """\
The key used to hold the log message. See the \
[log data model page][docs.data-model.log#message] for more info.\
"""
[options.log_schema.children.timestamp_key]
type = "string"
default = "timestamp"
examples = ["timestamp", "@timestamp", "datetime"]
description = """\
The key used to represent when the log was generated. See the \
[log data model page][docs.data-model.log#timestamp] for more info.\
"""
[options.log_schema.children.kubernetes_key]
type = "string"
default = "kubernetes"
examples = ["kubernetes", "kube", "k8s"]
description = "The key under which Kubernetes related fields are nested."
[options.log_schema.children.source_type_key]
type = "string"
default = "source_type"
examples = ["source_type", "@source_type", "src_ty"]
description = """\
The key used to hold the log source type. See the \
[log data model page][docs.data-model.log#source_type] for more info.\
"""