nayrnet / direwolf-log-parser

Direwolf APRS Log Parsing Scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Direwolf CSV to Postgres Logging

Work in progress, I'm still proving this in my environment before cleanup.. more details later.

Environment Required

  • PGHOST
  • PGUSER
  • PGDATABASE
  • PGPASSWORD

Install

git clone https://github.com/nayrnet/direwolf-log-parser.git
apt install npm
npm install pg
npm install fs-tail-stream
npm install csv-parser
export PGHOST=localhost
export PGUSER=testuser
export PGDATABASE=direwolf
export PGPASSWORD=[REDACTED]
./dw-log-parser.js

About

Direwolf APRS Log Parsing Scripts

License:GNU General Public License v3.0


Languages

Language:JavaScript 77.8%Language:Shell 22.2%