filter info priority only
This commit is contained in:
parent
e8e8f2011c
commit
cd988151b9
|
@ -1,7 +1,7 @@
|
|||
FROM debian:latest
|
||||
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
||||
|
||||
LABEL version="20240621.2.3"
|
||||
LABEL version="20240621.2.4"
|
||||
LABEL description="Debian Based syslog-ng"
|
||||
|
||||
RUN apt-get update
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
filter f_nginx { match("nginx" value("PROGRAM")); };
|
||||
filter f_nginx_priority_info { match("info" value("PRIORITY")); };
|
||||
|
||||
parser p_nginx_message {
|
||||
csv-parser(
|
||||
|
@ -60,6 +61,7 @@ destination d_nginx_logs {
|
|||
log {
|
||||
source(s_network_udp);
|
||||
filter(f_nginx);
|
||||
filter(f_nginx_priority_info);
|
||||
parser(p_nginx_message);
|
||||
rewrite(r_nginx_docker_header);
|
||||
parser(p_nginx_docker_header);
|
||||
|
|
|
@ -10,7 +10,7 @@ services:
|
|||
syslog-ng:
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:240621.2.3
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:240621.2.4
|
||||
container_name: syslog-ng
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue