Repository navigation
Expand file tree
/
Copy pathhttp.toml
More file actions
75 lines (66 loc) · 2.02 KB
/
Copy pathhttp.toml
File metadata and controls
75 lines (66 loc) · 2.02 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
68
69
70
71
72
73
74
75
[sinks.http]
batch_is_simple = true
batch_size = 1049000
batch_timeout = 5
buffer = true
delivery_guarantee = "at_least_once"
egress_method = "batching"
healthcheck = true
input_types = ["log"]
rate_limit_duration = 1
rate_limit_num = 10
retry_attempts = 10
retry_backoff_secs = 1
request_in_flight_limit = 10
request_timeout_secs = 30
service_provider = "Elastic"
write_to_description = "a generic HTTP endpoint"
tls_options = []
[sinks.http.options.basic_auth]
type = "table"
null = true
description = "Options for basic authentication."
[sinks.http.options.basic_auth.options.password]
type = "string"
examples = ["password"]
null = false
description = "The basic authentication password."
[sinks.http.options.basic_auth.options.user]
type = "string"
examples = ["username"]
null = false
description = "The basic authentication user name."
[sinks.http.options.compression]
type = "string"
enum = ["gzip"]
null = true
simple = true
description = "The compression strategy used to compress the payload before sending."
[sinks.http.options.encoding]
type = "string"
enum = ["ndjson", "text"]
null = false
simple = true
description = """\
The encoding format used to serialize the events before flushing. The default \
is dynamic based on if the event is structured or not.\
"""
[sinks.http.options.headers]
type = "table"
null = true
description = "Options for custom headers."
[sinks.http.options.headers.options."*"]
type = "string"
examples = [{ name = "X-Powered-By", value = "Vector"}]
null = false
description = "A custom header to be added to each outgoing HTTP request."
[sinks.http.options.healthcheck_uri]
type = "string"
examples = ["https://10.22.212.22:9000/_health"]
null = true
description = "A URI that Vector can request in order to determine the service health."
[sinks.http.options.uri]
type = "string"
examples = ["https://10.22.212.22:9000/endpoint"]
null = false
description = "The full URI to make HTTP requests to. This should include the protocol and host, but can also include the port, path, and any other valid part of a URI."