STDIN failing for code built bianry

12 views
Skip to first unread message

Gagan Singh

unread,
Feb 2, 2022, 12:02:15 AM2/2/22
to Fluent Bit
Hi all,
I have built fluentbit binary from source code and my main binary is starting a process of fluentbit. My command to start fluentbit looks like this  "/fluent-bit --config=/dev/stdin --http --port=2020 --flush=1 -o forward://127.0.0.1:8006 --match=*". In next step i am providing configuration path on stdin. But fluentbit process stop as soon as it start and i am not able to see any error at my main binary.
But if i replace --config=/dev/stdin to --config=<configuration file path> it works fine.
Also I dont get above issue if I install the binary from yum. Can someone please help me with this on what might be the issue?

Thanks,
Gagan Pal Singh

Eduardo Silva

unread,
Feb 2, 2022, 8:13:33 AM2/2/22
to Gagan Singh, Fluent Bit
what's the use case where you need to pass the config by using stdin interface ?

--
You received this message because you are subscribed to the Google Groups "Fluent Bit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluent-bit+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fluent-bit/53817296-c261-4a8b-8956-90f629b1c8b5n%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages