Git Product home page Git Product logo

silk-xtensions's Introduction

SiLK Xtensions

A set of tools that augment or improve the functionality and features of SiLK (System for Internet-Level Knowledge). In the same way that all the SiLK tools are prefixed with rw, all silk-xtension tools are prefixed with sx.

sxcleaner

Retention management of SiLK data repository. A normal SiLK installation provides no means to automatically delete old network flow data. This script will delete data from the data repository, as defined by DATA_ROOTDIR setting in rwflowpack.conf. Deletion of data can be based either on a given number of days ago, or by a spesific date or timestamp. By default it outputs information and status to both STDOUT and Syslog. When running in CRON, you may specify the -q flag to silence the console output. If you specify the -x flag, you'll get a dry-run only, where date will not be deleted.

sxrepchk

Check the SiLK data repository for each sensor (i.e. organization) and see if it is up to date. It basically parses the output of the rwsiteinfo command. If the repo data is more than an hour behind, you will see a warning. The tool can also format the output as JSON if the --json flag is specified.

You can easily use this tool as a status monitor. E.g. watch -n 30 -c sxrepchk will reload the output every 30 seconds so you can have a simple status display of the data repository.

sxapi

Simple REST API implementation for the sx-tools. Currently only the JSON output of sxrepchk is available in the endpoint /repostatus. The implementation uses the Bottle framework, so it can easily be extended to support more functionality.

silk-xtensions's People

Contributors

toringe avatar

Watchers

 avatar  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.