Skip to content

πŸ“ƒ Logstash pipelines that bring lnd events to Elasticsearch and Kibana

Notifications You must be signed in to change notification settings

davidknezic/lnd-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

lnd events

Pipelines

  • Channel openings / closures pipelines/channels
  • Routing failures pipelines/failures
  • Forwarding events pipelines/forwardings
  • Balancing payments pipelines/payments

Configure

Add .env file:

LNCLI_OPTS="--rpcserver my-lnd:10009"
ELASTIC_HOST=https://my-elastic:9200"
ELASTIC_USER=elastic
ELASTIC_PASSWORD=secret

set -o allexport; source .env; set +o allexport

Run

# Sync logs every minute to ~/.lnpipe/logs/
watch -n60 scp root@my-lnd:/root/.lnd/logs/bitcoin/mainnet/lnd.log*" ~/.lnpipe/logs/

# Start all pipelines
logstash --path.settings .

$HOME/.lnpipe

Used to store cached data. Get logs from logs subfolder.

About

πŸ“ƒ Logstash pipelines that bring lnd events to Elasticsearch and Kibana

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published