GithubHelp home page GithubHelp logo

isabella232 / beats-dashboards Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elastic/beats-dashboards

0.0 0.0 0.0 3.3 MB

DEPRECATED. Moved to https://github.com/elastic/beats. Please use the new repository to add new issues.

License: Other

Shell 41.43% Python 14.99% Makefile 3.55% PowerShell 40.03%

beats-dashboards's Introduction

Beats dashboards

This repository contains sample Kibana4 dashboards for visualizing the data gathered by the Elastic Beats.

Installation

To load the dashboards, execute the script pointing to the Elasticsearch HTTP URL:

    # Unix
    ./load.sh -url "http://localhost:9200"

    # Windows
    .\load.ps1 -url "http://localhost:9200"

If you want to use HTTP authentication for Elasticsearch, you can specify the credentials as a second parameter:

    # Unix
    ./load.sh -url "http://localhost:9200" -user "admin:secret"

    # Windows
    .\load.ps1 -url "http://localhost:9200" -user "admin:secret"

Technical details

The dashboards folder contains the JSON files as exported from Kibana, by using the simple python tool from the save directory. The loader is a simple shell script so that you don't need python installed when loading the dashboards.

Create a new dashboard

If you added support for a new protocol in Packetbeat or a module in Metricbeat, it would be nice to create a dedicated Kibana dashboard to visualize your data. The Kibana dashboards are saved in a special index in Elasticsearch. By default it's .kibana, but it can be configured to anything else.

The first step in creating your own Kibana dashboard is to get a fresh installation of the Kibana dashboards/visualizations/searches/index patterns, that you can use as a starting point for your own dashboard. You can use the load.sh script on Unix and load.ps1 on Windows for loading the sample dashboards/visualizations/searches/index patterns in Kibana. The usage of this script is described above.

Note: Make sure you are using the latest Kibana version to create and download the dashboards.

Then, you can create the dashboard together with the necessary visualizations and searches in Kibana. After the dashboard is ready, you can download all the dashboards using the save/kibana_dump.py script.

Before executing the save/kibana_dump.py script, make sure you have python and virtualenv installed:

    # Prepare the environment
    virtualenv env
    . env/bin/activate
    pip install -r requirements.txt

    # go to save directory
    cd save

    # Download all Kibana dashboards to your host
    python kibana_dump.py --url 'http://localhost:9200' --dir output

where url points to the Elasticsearch URL, and dir is the directory where you want to save the Kibana dashboards.

Finally, copy the related dashboards, visualizations, searches and eventually index patterns to the dashboards directory, and send us a pull request.

Screenshots

Packetbeat Statistics MySql performance Thrift performance Windows Event Log Statistics NFS traffic Statistics

beats-dashboards's People

Contributors

andrewkroh avatar borian avatar chayim avatar dovicn avatar joshboon avatar jpcarey avatar karolisl avatar kofemann avatar lmangani avatar monicasarbu avatar radoondas avatar ruflin avatar tsg 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.