Skip to content

Instantly share code, notes, and snippets.

@slachiewicz
Forked from jpotts/jmeter-results.conf
Last active August 29, 2015 14:15
Show Gist options
  • Save slachiewicz/d95f92b69c311bbe6f2e to your computer and use it in GitHub Desktop.
Save slachiewicz/d95f92b69c311bbe6f2e to your computer and use it in GitHub Desktop.
input {
file {
path => [ "/Users/jpotts/Documents/code/es-test/results.csv"]
}
}
filter {
if ([message] =~ "responseCode") {
drop { }
} else {
csv {
columns => ["time", "elapsed", "label", "responseCode", "threadName",
"success", "bytes", "grpThreads", "allThreads", "Latency",
"SampleCount", "ErrorCount", "Hostname"]
}
}
}
output {
elasticsearch_http {
host => "127.0.0.1"
index => "logstash-jmeter-results-%{+YYYY.MM.dd}"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment