Skip to content

Commit

Permalink
A couple tweaks to make working with DNS and HTTP test results easier
Browse files Browse the repository at this point in the history
  • Loading branch information
arlake228 committed Aug 18, 2023
1 parent 502da89 commit ac98850
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions perfsonar-logstash/perfsonar-logstash/pipeline/06-result_dns.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
filter {
if [test][type] == "dns"{
ruby {
path => "/usr/lib/perfsonar/logstash/ruby/pscheduler_iso8601_duration.rb"
script_params => {
"fields" => [
"[result][time]"
]
}
}
}
}
12 changes: 12 additions & 0 deletions perfsonar-logstash/perfsonar-logstash/pipeline/06-result_http.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
filter {
if [test][type] == "http"{
ruby {
path => "/usr/lib/perfsonar/logstash/ruby/pscheduler_iso8601_duration.rb"
script_params => {
"fields" => [
"[result][time]"
]
}
}
}
}

0 comments on commit ac98850

Please sign in to comment.