Skip to content

Config json_lines format separator on FluentBit HTTP Output, is it possible? #8125

Answered by canob
canob asked this question in Q&A
Discussion options

You must be logged in to vote

Answering myself, and thanks to https://github.com/socsieng/capture-proxy, attached all the requests of FluentBit and the responses of eKuiper using the four formats of FluentBit HTTP Output: msgpack, json, json_stream, json_lines.
The tree events that I send on every test:

{"qname":"comm-cohort.ess.apple.com","source_ip":"10.11.21.7","timestamp":"Nov  2 10:38:05","tag":"dns_query","query_type":"A"}
{"qname":"roaming.officeapps.live.com","source_ip":"10.199.0.145","timestamp":"Nov  2 10:38:05","tag":"dns_query","query_type":"A"}
{"query_type":"A","timestamp":"Nov  2 10:38:05","tag":"dns_query","source_ip":"10.11.0.50","qname":"ntp.msn.com"}

With that, you can see exactly how FluentBit co…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@canob
Comment options

Answer selected by canob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant