Compare commits
2 Commits
40882546c0
...
e0ba968104
Author | SHA1 | Date |
---|---|---|
|
e0ba968104 | |
|
3a23ed0208 |
|
@ -0,0 +1 @@
|
|||
*.bak
|
|
@ -1,7 +1,7 @@
|
|||
FROM debian:latest
|
||||
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
|
||||
|
||||
LABEL version="20241028.1.12"
|
||||
LABEL version="20241028164050"
|
||||
LABEL description="Debian Based syslog-ng"
|
||||
|
||||
RUN apt-get update
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
v=$(date "+%Y%m%d%H%M%S")
|
||||
|
||||
sed -i.bak "s/^LABEL version.*/LABEL version=\"$v\"/" "Dockerfile"
|
||||
sed -i.bak "s/\/tlp\/syslog-ng:.*/\/tlp\/syslog-ng:$v/" "docker-compose.yml"
|
|
@ -28,7 +28,7 @@ destination d_nas81_suricata_stats {
|
|||
index("nas81")
|
||||
type("")
|
||||
url("http://pi501.in.thelinuxpro.net:9200/_bulk")
|
||||
template("$(format-json --exclude DATE @timestamp=${ISODATE})")
|
||||
template("$(format-json --scope rfc5424 --exclude DATE @timestamp=${ISODATE})")
|
||||
persist-name("d_nas81")
|
||||
);
|
||||
};
|
||||
|
|
|
@ -10,7 +10,7 @@ services:
|
|||
syslog-ng:
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:241028.1.12
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:20241028164050
|
||||
container_name: syslog-ng
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
|
|
Loading…
Reference in New Issue