forked from vectordotdev/vector
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsocket.toml
More file actions
58 lines (48 loc) · 1.52 KB
/
Copy pathsocket.toml
File metadata and controls
58 lines (48 loc) · 1.52 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
[sinks.socket]
title = "Socket"
beta = false
common = true
delivery_guarantee = "best_effort"
egress_method = "streaming"
function_category = "transmit"
healthcheck = true
input_types = ["log"]
requirements = {}
write_to_description = "a socket, such as a TCP or Unix domain socket"
<%= render("_partials/_component_options.toml", type: "sink", name: "socket") %>
<%= render("_partials/_buffer_options.toml", namespace: "sinks.socket.options") %>
[sinks.socket.options.encoding]
type = "string"
category = "requests"
common = true
required = true
description = """\
The encoding format used to serialize the events before outputting.\
"""
[sinks.socket.options.encoding.enum]
json = "Each event is encoded into JSON."
text = "Each event is encoded into text via the `message` key."
[sinks.socket.options.mode]
type = "string"
common = true
required = true
description = "The type of socket to use."
[sinks.socket.options.mode.enum]
tcp = "TCP Socket."
unix = "Unix Domain Socket."
[sinks.socket.options.address]
type = "string"
common = true
examples = ["92.12.333.224:5000"]
required = true
relevant_when = {mode = "tcp"}
description = "The address to connect to. The address _must_ include a port."
[sinks.socket.options.path]
type = "string"
common = true
examples = ["/path/to/socket"]
required = true
relevant_when = {mode = "unix"}
description = """The unix socket path. This should be the absolute path.\
"""
<%= render("_partials/_tls_connector_options.toml", namespace: "sinks.socket.options", can_enable: true, can_verify: true) %>