hariom282538 / kibana_dashboard_screenshot

A tool for capturing kibana dashboards screenshot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kibana Dashboard Screenshot Capture - Scraper 🤖

The purpose of this scraper is to take a screenshot of kibana dashboard.

Usage

Inputs: URL: expected kibana dashboard URL

Case - 1 (when user want response in JSON format)

Sample Input

curl --request GET --url 'http://localhost:3000/kibana'
sh runKibanaScraper.sh

Sample Output

success-> [{ "type": "success" }]
error-> [{ "type": "error" }]

Steps to Setup

Tech Stack Setup

Install NodeJs, NPM or PM2

Project Setup

  1. Install dependencies
npm install
  1. Run Server
pm2 start server.js --name 'kibana'
npm start

Docker Setup

  1. Build
docker build -t kibana .
  1. Run/Start
docker run -p 3000:3000 kibana

You can browse the APIs at http://localhost:3000

Contributors

  • Hariom Vashisth

About

A tool for capturing kibana dashboards screenshot


Languages

Language:JavaScript 58.4%Language:Shell 24.6%Language:Dockerfile 16.9%