Skip to content

Commit

Permalink
Update output configuration in ps-debug.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
ivukotic committed Dec 14, 2023
1 parent c7c3ba1 commit 8526280
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions configs/ps-debug.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ input {
}
}


output {
if [test][type]=="trace" or [test][type]=="latencybg" or [test][type]=="throughput" or [test][type]=="rtt"{
file{
path => "/var/log/logstash/correct_%{[test][type]}.json"
}
} else {
# if [test][type]=="trace" or [test][type]=="latencybg" or [test][type]=="throughput" or [test][type]=="rtt"{
# file{
# path => "/var/log/logstash/correct_%{[test][type]}.json"
# }
# } else {
file{
path => "/var/log/logstash/else.json"
}
# }
stdout {
codec => json
}

}

0 comments on commit 8526280

Please sign in to comment.