Filter transform getting rate limited interally #8634
Answered
by
jszwedko
danthegoodman1
asked this question in
Q&A
-
I've got the following transforms:
logFilter:
type: filter
inputs:
- "kubernetes_logs"
condition: "length(parse_regex!(.kubernetes.pod_name, r'.*deployment.*')) > 0"
# jsonFlatten:
# type: remap
# inputs:
# - "logFilter"
# source: " .message = parse_json!(.message)\n"
sinks:
# Adjust as necessary. By default we use the console sink
# to print all data. This allows you to see Vector working.
# /docs/reference/sinks/
stdout:
type: console
inputs: ["logFilter"]
target: "stdout"
encoding: "json"
lokiSink:
type: loki
inputs:
- logFilter
endpoint: http://loki.default.svc.cluster.local:3100
encoding:
codec: json
healthcheck:
enabled: true
labels:
forwarder: vector
podname: "{{kubernetes.pod_name}}"
nodename: "{{kubernetes.pod_node_name}}"
messagetext: "{{message.message}}" And I am getting errors:
How do I remove this rate limit? |
Beta Was this translation helpful? Give feedback.
Answered by
jszwedko
Aug 9, 2021
Replies: 1 comment 13 replies
-
Hi @danthegoodman1 ! That rate limit you see there is specific to the log message from Vector. We typically rate limit error messages to avoid flooding people's logs in the event of catastrophic failure. Vector is not actually rate limiting events flowing through your topology. I opened #8635 to try to clarify this. |
Beta Was this translation helpful? Give feedback.
13 replies
Answer selected by
jszwedko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @danthegoodman1 !
That rate limit you see there is specific to the log message from Vector. We typically rate limit error messages to avoid flooding people's logs in the event of catastrophic failure. Vector is not actually rate limiting events flowing through your topology. I opened #8635 to try to clarify this.