Logagent plugin to get GPS position from GPS devices
npm install logagent-gpsLogagent plugin to track the GPS position of with USB / serialport GPS mouse.
```
npm i -g @sematext/logagent
npm i -g logagent-gps
`
input:
gps:
module: logagent-gps
comPort: '/dev/tty.usbmodemFA1221'
# Emit only locationevent,
# useful to share location with other plugins,
# listening to 'location' event
# without generating 'data.raw' event for Logagent
emitOnlyLocationEvent: false
# enable debug output
debug: true
output:
stdout: yaml
sematext-cloud:
module: elasticsearch
url: https://logsene-receiver.sematext.com
index: YOUR_LOGSENE_TOKEN
`
```
logagent --config gps-location.yml