Coder Social home page Coder Social logo

graylog-delivery-ratio's Introduction

graylog-delivery-ratio

Send lots of GELF messages to Graylog and get the success/fail delivery ratio.

usage: test_delivery_ratio.py [-h] [-H HOST] [-l LOG_SEND_PORT] [-r THROTTLE]
                              [-a API_PORT] [-P {http,https}] [-u USERNAME]
                              [-p PASSWORD] [-t TOTAL_REQUESTS] [-T THREADS]
                              [-m {UDP,TCP,HTTP} [{UDP,TCP,HTTP} ...]] [-v]

Send lots of GELF messages to Graylog and get the success/fail delivery ratio.

optional arguments:
  -h, --help            show this help message and exit
  -H HOST, --host HOST  The Graylog hostname
  -l LOG_SEND_PORT, --log_send_port LOG_SEND_PORT
                        The Graylog TCP/UDP logging port
  -r THROTTLE, --throttle THROTTLE
                        Throttle the minimum time between requests in
                        milliseconds
  -a API_PORT, --api_port API_PORT
                        The Graylog REST API port
  -P {http,https}, --protocol {http,https}
                        The Graylog REST API protocol
  -u USERNAME, --username USERNAME
                        The Graylog REST API username
  -p PASSWORD, --password PASSWORD
                        The Graylog REST API password
  -t TOTAL_REQUESTS, --total_requests TOTAL_REQUESTS
                        The total number of test requests to send to Graylog
  -T THREADS, --threads THREADS
                        The total number of send threads to run
  -m {UDP,TCP,HTTP} [{UDP,TCP,HTTP} ...], --mode {UDP,TCP,HTTP} [{UDP,TCP,HTTP} ...]
                        Specifies the send mode (TCP or UDP or BOTH)
  -v, --verbosity       Application output verbosity

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.