Benben's beat for shipping serial output to logstash or elasticsearch. But with an updated Beats version (7.6.0) and dependancies
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/itsties/serialbeat
git clone [email protected]:itsties/serialbeat.git ${GOPATH}/src/github.com/itsties/serialbeat
cd ${GOPATH}/src/github.com/itsties/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