Giter VIP home page Giter VIP logo

apachebeat's Introduction

Travis Build Status GoReportCard

ApacheBeat

Current status: beta release.

Description

This is beat for Apache HTTPD server-status page. ApacheBeat polls Apache HTTPD server-status page every 'defined' period. You can poll more URL's at once and save your results to ElasticSearch. Each document in ElasticSearch consists of metrics gathered from server-status page and add url.host to see which URL answered. Each document in ElasticSearch is flat document with no nested objects.

Document example:

{
    "_index": "apachebeat-2016.03.29",
    "_type": "apache_status",
    "_id": "AVPBdyRHD3Lkxnx3Btq7",
    "_version": 1,
    "_score": 1,
    "_source": {
        "@timestamp": "2016-03-29T08:22:04.102Z",
        "apache": {
            "busyWorkers": 263,
            "bytesPerReq": 44679.9,
            "bytesPerSec": 4895320,
            "connections": {
                "connsAsyncClosing": 612,
                "connsAsyncKeepAlive": 1483,
                "connsAsyncWriting": 475,
                "connsTotal": 2839
            },
            "cpu": {
                "cpuChildrenSystem": 0,
                "cpuChildrenUser": 0,
                "cpuLoad": 2.70362,
                "cpuSystem": 0,
                "cpuUser": 0
            },
            "hostname": "www.apache.org",
            "idleWorkers": 637,
            "load": {
                "load1": 0,
                "load15": 0,
                "load5": 0
            },
            "reqPerSec": 109.564,
            "scoreboard": {
                "closingConnection": 0,
                "dnsLookup": 0,
                "gracefullyFinishing": 113,
                "idleCleanup": 0,
                "keepalive": 0,
                "logging": 337,
                "openSlot": 2400,
                "readingRequest": 232,
                "sendingReply": 31,
                "startingUp": 0,
                "total": 3750,
                "waitingForConnection": 637
            },
            "totalAccesses": 141301656,
            "totalKBytes": 6165381544,
            "uptime": {
                "serverUptimeSeconds": 0,
                "uptime": 1289672
            }
        },
        "beat": {
            "hostname": "hostname",
            "name": "name"
        },
        "type": "apache_status",
        "url": "http://www.apache.org/server-status?auto"
    }
}

More about beats platform: https://www.elastic.co/products/beats

To apply ApacheBeat template:

curl -XPUT 'http://localhost:9200/_template/apachebeat' [email protected]

Example Kibana dashboard

Apache HTTPD server-status

Links

Thanks note

Beat is highly motivated by nginxbeat. In fact nginxbeat served as a template. Thanks!!

apachebeat's People

Contributors

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