Skip to content

Instantly share code, notes, and snippets.

@colinsurprenant
Last active January 5, 2016 19:43
Show Gist options
  • Save colinsurprenant/687bff77b5f876893c94 to your computer and use it in GitHub Desktop.
Save colinsurprenant/687bff77b5f876893c94 to your computer and use it in GitHub Desktop.
stress fingerprint
or n in {1..200}; do echo -e "$n-1\n$n-2\n$n-3\n$n-4\n$n-5\n$n-6\n$n-7\n$n-8" | bin/logstash -w 4 -f fingerprint.conf;  done
input {
stdin {}
}
filter {
fingerprint {
key => "message"
method => "SHA1"
base64encode => true
target => "[sha1]"
}
}
output {
stdout {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment