Import/export tool for the Elastic Stack.
Project description
Elastic Stacker
Purpose
This tool is used to export configuration objects (dashboards, pipelines, alerts, etc) out of one Elastic Stack and then allow importing in to another Stack.
A main use case is for moving from development done in a staging environment, and in to a production environment. Another use case is to keep configurations in sync between multiple production stacks, but that might live on separate networks.
Installation
Stacker is on PyPI; you can install it by running:
pip install elastic-stacker
Usage
Some simple invocations of Stacker:
Dump all ingest pipelines as JSON files, using all the default settings:
stacker pipelines dump
Dump all role mappings, deleting any files for mappings that no longer exist:
stacker role-mappings dump --purge
Load the ingest pipelines into Elasticsearch, using the "prod" config profile:
stacker pipelines load --profile prod
Dump all resources Stacker can handle into a different data directory:
stacker system-dump --data-directory=../elastic-data
# (you can load this back in with the "system-load" subcommand)
For more detailed instructions, see usage.md. Many more configuration options can be set in the config file -- see usage.md for a full list.
Contributing
You want to hack on Stacker? Awesome, your contributions are welcome. See contributing.md for details.
License
Stacker is released under the Apache 2.0 license with LLVM exception. For more details see the LICENSE file.
LLNL-CODE-850537
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file elastic_stacker-0.3.3.tar.gz.
File metadata
- Download URL: elastic_stacker-0.3.3.tar.gz
- Upload date:
- Size: 33.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c33342401578b8703f16b84ec1282cca927be63a49043862e82a0ad4f086eb9
|
|
| MD5 |
f2a333a65d0941b9d4a330ae34e78001
|
|
| BLAKE2b-256 |
787053baf62bff4cc439d48e2e8feb3e45b4e6e5d2adeb6c40ad03021b6212dd
|
File details
Details for the file elastic_stacker-0.3.3-py3-none-any.whl.
File metadata
- Download URL: elastic_stacker-0.3.3-py3-none-any.whl
- Upload date:
- Size: 42.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9363d780efcc450c31312be4eadcebf1bb14a7ecdde04203fc0057d288dcd07
|
|
| MD5 |
19915ef9d92c9ab33b8b461077dceaa0
|
|
| BLAKE2b-256 |
6d0185de536476f469c5338e47348b6b536a7208cd5b08af1fed4d66ec8632ac
|