cloudfoundry / cf-drain-cli

CF CLI plugin to create syslog drains
Apache License 2.0
16 stars 7 forks source link

Question about syslog url. #23

Closed LYHuang closed 5 years ago

LYHuang commented 5 years ago

Hello,

The syslog drain is working when I use the syslog://some.server url. But if I am using https://another.server as my log drain url, I can only see the POST request coming and didn't see any data in the body.

Is there any extra setting I need to do?

Thanks.

cf-gitbot commented 5 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/167447393

The labels on this github issue will be updated when the story is started.

kitemongerer commented 5 years ago

@LYHuang How are you seeing the POST request come through?

LYHuang commented 5 years ago

@kitemongerer I realize that the coming data is the stream, and I can actually see some data drain to my https server now. However, the logs seems not consistent. In my https server, I can not see any syslog with type APP/PROC/WEB/0, but I can see that in my cloud foundry logs page and my syslog server.

kitemongerer commented 5 years ago

@LYHuang can you look at the syslog_adapter.dropped metric emitted by the syslog adapter. It may be that your http server is not consuming as fast as the TCP server and can't keep up

LYHuang commented 5 years ago

@kitemongerer ah, I figure out the problem. The server need to response the drain to get the next data.