-
Hi, I'm checking a simple flow of reading some key-value dumps, transforming them using VRL, and sending them to blackhole: [sources.logfmt]
type = "file"
include = ["logfmt"]
read_from = "beginning"
[transforms.prepare_logfmt]
type = "remap"
inputs = ["logfmt"]
source = '''
raw = parse_logfmt!(.message)
. = {}
.actor_group = raw.g
.actor_key = raw.k
.node_no = raw.n
.sequence_no = raw.s
.trace_id = raw.t
.thread_id = raw.th
.platform_time = raw.ts
.direction = raw.d
.class = raw.cl
.message_name = raw.mn
.message_protocol = raw.mp
.message_kind = raw.mk
.message = raw.m
.correlation_id = raw.c
'''
[sinks.blackhole_logfmt]
type = "blackhole"
inputs = ["prepare_logfmt"] I observe suspiciously low performance (~80-90k/s or ~70MiB/s) with following utilization metrics:
CPU Usage: 520%, so it's only 17k/s per core. I don't understand why utilization is so low, and have several questions:
|
Beta Was this translation helpful? Give feedback.
Answered by
jszwedko
Aug 6, 2024
Replies: 1 comment 2 replies
-
Hey!
My guess, given those utilization numbers, is that it is the
That's correct.
Same as above. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
loyd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey!
My guess, given those utilization numbers, is that it is the
file
source that is not reading the data fast enough to saturate the downstream components.That's correct.
Same as above.