Loading deploy/kubernetes/chart/files/logstash/10-stats.conf +8 −0 Original line number Diff line number Diff line Loading @@ -12,10 +12,18 @@ filter { if [user_agent] =~ "^kube-probe" { drop { } } # Drop HEAD requests if [method] == "HEAD" { drop { } } # Only consider file downloads and OPeNDAP accesses if [request] !~ "^/thredds/(fileServer|dodsC)" { drop { } } # Drop extraneous OPeNDAP requests if [request] =~ "^/thredds/dodsC/([\?].*)\.(html|nc|dds|das)" { drop { } } # Replace the logstash timestamp with the timestamp from the request date { match => ["request_time", "dd/MMM/yyyy:HH:mm:ss Z"] Loading images/logstash/Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ COPY logstash.repo /etc/yum.repos.d/logstash.repo # So SHA1 needs to be enabled to install it. RUN update-crypto-policies --set DEFAULT:SHA1 RUN dnf makecache && \ dnf install -y logstash-7.10.0 && \ dnf install -y logstash && \ dnf clean all && \ chown -R $ESGF_UID:$ESGF_GID /usr/share/logstash Loading Loading
deploy/kubernetes/chart/files/logstash/10-stats.conf +8 −0 Original line number Diff line number Diff line Loading @@ -12,10 +12,18 @@ filter { if [user_agent] =~ "^kube-probe" { drop { } } # Drop HEAD requests if [method] == "HEAD" { drop { } } # Only consider file downloads and OPeNDAP accesses if [request] !~ "^/thredds/(fileServer|dodsC)" { drop { } } # Drop extraneous OPeNDAP requests if [request] =~ "^/thredds/dodsC/([\?].*)\.(html|nc|dds|das)" { drop { } } # Replace the logstash timestamp with the timestamp from the request date { match => ["request_time", "dd/MMM/yyyy:HH:mm:ss Z"] Loading
images/logstash/Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ COPY logstash.repo /etc/yum.repos.d/logstash.repo # So SHA1 needs to be enabled to install it. RUN update-crypto-policies --set DEFAULT:SHA1 RUN dnf makecache && \ dnf install -y logstash-7.10.0 && \ dnf install -y logstash && \ dnf clean all && \ chown -R $ESGF_UID:$ESGF_GID /usr/share/logstash Loading