no template for default?
This commit is contained in:
parent
e0d04be60c
commit
c35324b3e1
|
@ -1,7 +1,7 @@
|
|||
FROM debian:latest
|
||||
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
||||
|
||||
LABEL version="20240621.1.1"
|
||||
LABEL version="20240621.1.2"
|
||||
LABEL description="Debian Based syslog-ng"
|
||||
|
||||
RUN apt-get update
|
||||
|
|
|
@ -5,9 +5,9 @@ destination d_syslog_ng_es {
|
|||
user("elastic")
|
||||
password("forty6and2")
|
||||
url("http://pi501.in.thelinuxpro.net:9200/_bulk")
|
||||
template("$(format-json --scope rfc5424 --scope dot-nv-pairs
|
||||
--rekey .* --shift 1 --scope nv-pairs
|
||||
--exclude DATE @timestamp=${ISODATE})")
|
||||
# template("$(format-json --scope rfc5424 --scope dot-nv-pairs
|
||||
# --rekey .* --shift 1 --scope nv-pairs
|
||||
# --exclude DATE @timestamp=${ISODATE})")
|
||||
persist-name("d_syslog_ng_es")
|
||||
);
|
||||
};
|
||||
|
|
|
@ -10,7 +10,7 @@ services:
|
|||
syslog-ng:
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:240621.1.1
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:240621.1.2
|
||||
container_name: syslog-ng
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue