fluent-bit icon indicating copy to clipboard operation
fluent-bit copied to clipboard

Fluentbit service start error

Open jegadjame opened this issue 3 years ago • 3 comments

Hi, I am trying to create Fluent bit as service When i run the command '.\bin\fluent-bit.exe -c .\etc\fluent-bit.conf' from fluent-bit folder with powershell, It is working fine

But when i try to create windows service with this command, 'sc.exe create fluent-bit binpath= ""C:\Program Files\fluent-bit\bin\fluent-bit.exe" -c "C:\Program Files\fluent-bit\etc\fluent-bit.conf""'

It is creating service. but, When i start service, it is throwing error as 'windows could not start fluent bit service on local computer . Error 1067: error 1067 the process terminated unexpectedly'

Below is my conf file [service] Flush 5 Daemon Off Log_Level debug Log_File d:/temp/stdout Parsers_File parsers.conf

# Plugins File
# ============
# specify an optional 'Plugins' configuration file to load external plugins.
plugins_file plugins.conf

[filter] Name record_modifier Match * Record server_name ${HOSTNAME} Record service_name J_Service

[INPUT] Name Forward Port 24224

[OUTPUT] name tsp match *

jegadjame avatar May 12 '22 12:05 jegadjame

What does the log file show?

patrick-stephens avatar May 16 '22 21:05 patrick-stephens

Does it show similar errors to https://github.com/fluent/fluent-bit/issues/5519?

patrick-stephens avatar Jun 06 '22 17:06 patrick-stephens

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

github-actions[bot] avatar Sep 21 '22 02:09 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Sep 27 '22 02:09 github-actions[bot]