Skip to content

Instantly share code, notes, and snippets.

@colinsurprenant
Created January 24, 2017 00:13
Show Gist options
  • Save colinsurprenant/c6f934180f34cb65c015b53f5dcb0a50 to your computer and use it in GitHub Desktop.
Save colinsurprenant/c6f934180f34cb65c015b53f5dcb0a50 to your computer and use it in GitHub Desktop.
rm -f data/queue/*
echo "test1" | bin/logstash -e 'input{stdin{}} filter{} output{stdout{codec => rubydebug}}'
echo -e "\c" | bin/logstash -e 'input{stdin{}} filter{} output{stdout{codec => rubydebug}}'
echo "test2" | bin/logstash -e 'input{stdin{}} filter{} output{stdout{codec => rubydebug}}'
bin/cpdump checkpoint.head
hexdump data/queue/page.1 | head
echo -e "\c" | bin/logstash -e 'input{stdin{}} filter{} output{stdout{codec => rubydebug}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment