Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sms-logparser

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sms-logparser

  • 0.16.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

SMS Logparser

sms-logparser - Logparser for Simplex Media Server (SMS). Reads access logs stored in a MySQL database (coming from the SWISS TXT CDN) accumulates and sends them to the SMS API.

Gem Version

Installation

Install the sms-logpaser gem:

$ gem install sms-logparser

Setup

Create the database table to track which logs have been parsed:

$ sms-logparser setup

Make a test run:

$ sms-logparser parse --simulate

Usage

See available commands:

$ sms-logparser help

Parse logs from database and send them to the API

$ sms-logparser parse

Show the last parser runs:

$ sms-logparser history

Configuration file

sms-logparser tries to read default options from a yaml file named '.sms-logparser.yml' placed in your home directory. Using the "-c/--config" flag you can adapt the path to the configuration file.

An example configuration (~/.sms-logparser.yml) for adapting the default MySQL password and setting the api_key:

mysql_password: 'my!secret'
api_key:        'xqugl-hjh54-dr97-9kjdkjwi988d-123456'

Development

  • check out the git repo (git clone <repo>)
  • implement your changes
  • run the tests (rake test)
  • bump the version number commit your changes and release a new version of the gem (rake release)

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

FAQs

Package last updated on 24 Apr 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc