A beat for shipping serial output to logstash or elasticsearch.
Create a configuration file with the name serialbeat.yml and add
serialbeat:
device: /dev/ttyACM0
baud: 38400
delimiter: "\n"
output.console:
pretty: true
And run ./serialbeat -c serialbeat.yml -e -d "*"
to see your serial output.
mkdir -p ${GOPATH}/src/github.com/benben/serialbeat
git clone git@github.com:benben/serialbeat.git ${GOPATH}/src/github.com/benben/serialbeat
cd ${GOPATH}/src/github.com/benben/serialbeat
glide i
make
Now you should have a serialbeat
binary in the same directory.
See serialbeat.reference.yml
for all possible configuration options.
This beat was 100% written on a Raspberry Pi 3.
Check out the beat developer guide.
See LICENSE