hi folks, could someone share where does the fluen...
# fluent-bit
j
hi folks, could someone share where does the fluent-bit internal logs are logged to? for example, on linux, the internal logs are written to
/var/log/fluemt
but where is on Windows Servers if Fluent-Bit is installed via the exe?
a
The default should be in C:/Program Files/fluent-bit/
I don’t believe it’s turned on by default though on windows
j
is this the config to log them?
Copy code
log_file "C:\Program Files\fluent-bit\log\fluent-bit.log"
log_level trace
a
Exactly
j
it is not working for me. i don't see it writing the logs =(
i see it says
error opening log file
does it require a certain permission even though i installed it and run it as administrator
a
Hmm the file shouldn’t what’s the size
j
the file is 0 bytes
a
Ah ok, maybe something else causing issues
I’m betting config
Try running in command line mode C:program files/fluent-bit/bin/fluent-bit -c ../etc/fluent-bit.conf
If I had to guess maybe a syntax issue in config
j
this slash "/" instead of "\" ?
a
Yea sorry mobile :)
It’s those paths with right windows syntax
j
windows is this one "\" correct?
a
Same slash you had in your log file comment
j
ok, yea, i ran it with -c
same error
a
What’s the error?
j
since i just want to get it running, the config is a simple 20 line. the process runs and does it's job, the only error is that it can not write the internal log to the specified filepath or even anywhere
a
Ah but the process is running?
j
yes, it's just a simple stdout on output and windows security log for input
a
And no errors in command line
j
this is the error i am seeing
a
Try switching path to bin
Same directory binary is in
j
same error
a
super odd