Loading deploy/ansible/roles/data/templates/stats.conf.j2 +8 −0 Original line number Diff line number Diff line Loading @@ -18,10 +18,18 @@ filter { } remove_field => ["message"] } # 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 Loading
deploy/ansible/roles/data/templates/stats.conf.j2 +8 −0 Original line number Diff line number Diff line Loading @@ -18,10 +18,18 @@ filter { } remove_field => ["message"] } # 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