Commit 4c2553f0 authored by Dmytro Karpenko's avatar Dmytro Karpenko
Browse files

1. Perflogs are now gone.

2. Default logpaths for ARC6.
parent ada27a72
......@@ -6,7 +6,3 @@ ARC_LOG_LINE \[%{TIMESTAMP_ISO8601:arc_timestamp}\] \[%{USERNAME:component}\] \[
GMJOBS_JOB_STATUS (?:Started|Finished)
ARC_JOB_ID (?:[a-zA-Z0-9]{54})
GMJOBS_LOG_LINE %{TIMESTAMP_ISO8601:arc_timestamp} %{GMJOBS_JOB_STATUS:status} - job id: %{ARC_JOB_ID:jobid}, unix user: %{POSINT:uid}:%{POSINT:gid}, name: \"%{DATA:jobname}\", owner: \"%{DATA:owner}\", lrms: %{USERNAME:lrms}, queue: %{USERNAME:queue}(, lrmsid: %{POSINT:lrmsid})?(, failure: \"%{DATA:failure_reason}\")?
PERFLOG_DURATION (?:[0-9]?*\.[0-9]?*)
BACKENDS_PERFLOGLINE \[%{TIMESTAMP_ISO8601:arc_timestamp}\] %{USERNAME:backend_script}, %{GREEDYDATA:backend_action}:\s*%{PERFLOG_DURATION:duration}
SYSTEM_PERFLOGLINE \[%{TIMESTAMP_ISO8601:arc_timestamp}\] %{DATA:metric}: %{GREEDYDATA:stats}
input {
file {
path => [ "/var/log/arc/grid-manager.log", "/var/log/arc/gridftpd.log", "/var/log/arc/gm-jobs.log", "/var/log/arc/ws-interface.log", "/var/log/arc/perfdata/*.perflog" ]
# data.perflog is inconsistent with the rest of perflogs
# - timestamp in UTC (localtime for others)
# - duration in nanoseconds (seconds for others)
# Thus excluding for now.
exclude => [ "data.perflog" ]
path => [ "/var/log/arc/arex.log", "/var/log/arc/gridftpd.log", "/var/log/arc/arex-jobs.log", "/var/log/arc/ws-interface.log" ]
sincedb_path => "/var/log/arc/sincedb-arc"
# uncomment next line if you want to import existing data
# start_position => "beginning"
type => "arclog"
}
}
......@@ -20,7 +14,6 @@ filter {
match => [ "message", "%{ARC_LOG_LINE}" ]
match => [ "message", "%{GMJOBS_LOG_LINE}" ]
match => [ "message", "%{BACKENDS_PERFLOGLINE}" ]
match => [ "message", "%{SYSTEM_PERFLOGLINE}" ]
named_captures_only => true
remove_field => [ "message" ]
tag_on_failure => [ "_parse_arclog_failure00" ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment