Closed Gero6700 closed 2 months ago
assuming you are running the FS log version, have you tried just setting the port in the relevant section of the docker-compose-mktxp-stack-fs.yml
?
syslog-ng:
command: -edv
container_name: syslog-ng
depends_on:
- promtail
image: balabit/syslog-ng:latest
networks:
mktxp: null
ports:
- protocol: udp
published: 514
target: 514
- protocol: tcp
published: 601
target: 601
restart: always
volumes:
- ./syslog-ng/syslog-ng-fs.conf:/etc/syslog-ng/syslog-ng.conf:ro
- mktxp-logs:/var/log/syslog-ng
I tried to change it from docker-compose but it gave error, doesn't it depend on internal configuration files? or other containers?
any reason why not just use the default configs & change the syslog-ng port as suggested above? that would allow your mkt devices to send their logs to that port instead to the default one, if that is what you're trying to do
I need to change 514 port where I have to modify this? I add this "syslog(transport(udp) port(8514));" on syslog-ng/syslog-ng-fs.conf but doesn't work...