-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openobserve config is incorrect #4912
Comments
maybe set port to the default port of the openobserve cloud instance? Unfortantely the block constructs don't support anything but simple string substitution, so if we want to make the port number configurable it needs to be part of the template. if we set port() to 443 by default that should work on cloud instances, right? |
I was pretty sure I tried and failed with this in the weekend, but it works fine today :-)
|
syslog-ng
Version of syslog-ng
4.6.0
Platform
FreeBSD 15.0-CURRENT amd64
Issue
syslog-ng is unable to send entries to openobserve because SCL creates invalid URL.
Failure
Steps to reproduce
run as above.
NB openobserve supplied url is of form:
https://api.openobserve.ai/api/dave_organization_12345_...//_json
Configuration
This can be fixed trivially in
/usr/local/share/syslog-ng/include/scl/openobserve/openobserve.conf
:i.e. omitting port. Ideally, if
port(1234)
is set insyslog-ng.conf
file,then the configured port would be inserted, but only if set.
The text was updated successfully, but these errors were encountered: