forked from vectordotdev/vector
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogdna.toml
More file actions
73 lines (62 loc) · 2.09 KB
/
Copy pathlogdna.toml
File metadata and controls
73 lines (62 loc) · 2.09 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
[sinks.logdna]
title = "LogDNA"
beta = true
common = false
delivery_guarantee = "best_effort"
egress_method = "batching"
function_category = "transmit"
healthcheck = true
input_types = ["log"]
requirements = {}
write_to_description = "[LogDna][urls.logdna]'s HTTP Ingestion API"
<%= render("_partials/_component_options.toml", type: "sink", name: "logdna") %>
<%= render("_partials/_batch_options.toml", namespace: "sinks.logdna.options", common: false, max_events: nil, max_size: 10490000, timeout_secs: 1) %>
<%= render("_partials/_buffer_options.toml", namespace: "sinks.logdna.options") %>
<%= render(
"_partials/_request_options.toml",
namespace: "sinks.logdna.options",
common: false,
in_flight_limit: 5,
rate_limit_duration_secs: 1,
rate_limit_num: 5,
retry_attempts: -1,
retry_initial_backoff_secs: 1,
retry_max_duration_secs: 10,
timeout_secs: 60
) %>
[sinks.logdna.options.api_key]
type = "string"
required = true
examples = ["${LOGDNA_API_KEY_ENV_VAR}", "ef8d5de700e7989468166c40fc8a0ccd"]
description = "The Ingestion API key."
[sinks.logdna.options.host]
type = "string"
required = false
examples = ["http://127.0.0.1", "http://example.com"]
description = "An optional host that will override the default one."
[sinks.logdna.options.hostname]
type = "string"
required = true
examples = ["my-local-machine"]
description = "The hostname that will be attached to each batch of events."
[sinks.logdna.options.mac]
type = "string"
required = false
examples = ["my-mac-address"]
description = "The mac address that will be attached to each batch of events."
[sinks.logdna.options.ip]
type = "string"
required = false
examples = ["0.0.0.0"]
description = "The IP address that will be attached to each batch of events."
[sinks.logdna.options.tags]
type = "[string]"
required = false
examples = [["tag1", "tag2"]]
description = "The tags that will be attached to each batch of events."
[sinks.logdna.options.default_app]
type = "string"
required = false
examples = ["vector", "myapp"]
default = "vector"
description = "The default app that will be set for events that do not contain a `file` or `app` field."