GithubHelp home page GithubHelp logo

bitminter-logger's Introduction

Bitminter-Logger

This package is a simple python app for logging Bitminter and MtGox info to log files. One can easily then feed the data into something like Splunk for further analysis/pretty charts.

Quick Setup

Clone the repo

$ cd your_code_folder
$ git clone https://github.com/adewinter/bitminter-logger.git
$ pip install requests #this is required
$ nano bitminter.py  #Make sure to add your own API key and SECRET key, otherwise you'll get my stats :)
$ python bitminter.py

This will immediately start logging your mining performance on the Bitminter pool to a file named bitminter.log.

Similarly, you can pull MtGox ticker data:

$ python mtgoxticker.py

This will generate a file called mtgoxticker.log containing ticker information in JSON format.

Note

The log data is formatted for ease of use in Splunk. What this essentially means is that everything is a key-value pair using the = char for pairing. Pairs are space (' ') separated. In both log files, that essentially amounts to one pair: Request={JSON_BLOB} with some timestamp information at the start of the line.

Recommendations

Run these puppies in Screen so that they can continue to run in the background with minimal fuss.

Example Output

After adding the data to Splunk, I was able to quickly generate the following dashboard:

Example Splunk Dashboard

bitminter-logger's People

Contributors

adewinter avatar

Watchers

 avatar

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.