Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

logagent-gps

megastef17MIT1.0.2

Logagent plugin to get GPS position from GPS devices

Logagent, GPS, IoT, Sematext, Serialport

readme

Logagent input plugin: logagent-gps

Logagent plugin to track the GPS position of with USB / serialport GPS mouse.

install Logagent & plugin

npm i -g @sematext/logagent
npm i -g logagent-gps

Configuration

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

Run Logagent

logagent --config gps-location.yml