Coder Social home page Coder Social logo

elk-save-money's Introduction

elk-save-money

Use an ELK stack to analyse finances and save some money

Usage

Minor adjustments will likely be needed to the sample_preapre_input.sh script to match your statements.

# first time only 
./build.sh

# Then use the wrapper scripts
./start.sh
./stop.sh

# push statement into the stack
./sample_prepare_input.sh <<Path to XLS>>

# When doing changes to the logstash config 
./start --develop

How it works ?

Brings up an ELK stack in docker.

Logstash is configured with a tcp input and a csv filter to be able to ingest credit card statements in CSV format.

A series of other filters are applied to process the data:

  • date to set the correct date.
  • grok to get a category.

The processed credit card statement finds it's way into elastic search. Kibana generates nice visuals and let's you search explore your statement.

The nice visuals help you understand spending and spend less.

Security

The elastic search data is stored in a docker volume. You can see where this is actually stored on disk after the container is created with :

docker inspect elk-save-money | jq '.[0].Mounts'

The provided start and stop wrapper scripts export the data into finances.tar.gz and then remove all data from docker. A future version of the wrappers will also offer encryption.

elk-save-money's People

Contributors

alpar-t avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

doytsujin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.