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 [email protected]: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