GithubHelp home page GithubHelp logo

sosaymon / elastic-create-users-and-spaces Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.83 MB

This script is designed to create Elasticsearch users and Kibana spaces. The script is written in Python 3.11 and uses the Elasticsearch and Kibana APIs. The script, thanks to the possibility of loading CSV files, helps to shorten the process of adding users and spaces to a total minimum

Home Page: https://sosaymon.github.io/elastic-create-users-and-spaces/

License: MIT License

Python 100.00%
elastic elasticsearch kibana

elastic-create-users-and-spaces's Introduction

Elastic create users and spaces

Python script to create Elasticsearch users and Kibana spaces
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. About Project
  2. License
  3. Contact

About Project

product screenshot

This script is designed to create Elasticsearch users and Kibana spaces. The script is written in Python 3.11 and uses the Elasticsearch and Kibana APIs. The script, thanks to the possibility of loading CSV files, helps to shorten the process of adding users and spaces to a total minimum

Getting Started

Local copy

To get a local copy up and running follow these simple steps.

Prerequisites

  1. Python 3.11
  2. pip
  3. Url to your Elasticsearch and Kibana instance and Elastic admin username and password

Installation

  1. Clone the repo
    • git clone https://github.com/SoSaymon/elastic-create-users-and-spaces.git
  2. Setup Virtual Environment
  3. Install Python packages
    • pip install -r requirements.txt

Configuration

  1. Rename file .env_template to .env
  2. Fill in the variables in the .env file

Docker

Docker image is not ready yet and is still under development

Usage

Local copy

To create Kibana space follow these steps

  1. Enter this prompt in commandline
    python3 create.py space
  2. Follow the instructions in the prompt

To create Elasticsearch user follow these steps

  1. Enter this prompt in commandline
    python3 create.py user
  2. Follow the instructions in the prompt

License

Distributed under the MIT License. See `LICENSE` for more information.

Contact

If you have any questions about the project, feel free to contact me at [email protected].
You can find my other projects at My GitHub account.

Project Link: https://github.com/SoSaymon/elastic-create-users-and-spaces/
Author: Szymon Chirowski
Documentation: https://sosaymon.github.io/elastic-create-users-and-spaces/

elastic-create-users-and-spaces's People

Contributors

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