I have installed Grayloy sidecar on windows server to get log which output from .Netfromework application(running in IIS). to send log to graylog server i used windows filebeat.
here is my configuration:
@phalla You can check Graylog server logs and sidecar.logs to know the cause of it. If possible share your suspicious errors logs here in case need further assitance.
@makarands
here are the logs i got from 2 file sidecar.log and filebeat from client server(windows server)
***Error from sidecar.log
level=error msg="[UpdateRegistration] Bad response from Graylog server: 502 Bad Gateway
*** Error from filebeat log
2020-07-15T09:08:31.705+0700 ERROR pipeline/output.go:100 Failed to connect to
backoff(async(tcp://graylog-server-ip:5044)
): dial tcp graylog-server-ip:5044: connectex: No connection could be made because the target machine
actively refused it.
Note: one thing i notice that the log files that output from .Netframework application is written new lines less than 1s
@jan
Thank so much for your responses, i figure out the problem. it is because of sidecar service conflict with another service that try to achieve the log files.