Skip to main content

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

elastic_stacker-0.3.2.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

elastic_stacker-0.3.2-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

Details for the file elastic_stacker-0.3.2.tar.gz.

File metadata

  • Download URL: elastic_stacker-0.3.2.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for elastic_stacker-0.3.2.tar.gz
Algorithm Hash digest
SHA256 f025fe2a4a42e1a613dd0e8d6b7bf434d4eca7046fe4eaab85e0bf8c4cfa13fd
MD5 c8e9c10e1e375057db8297e937da4fd7
BLAKE2b-256 a7dfd8054ee4b4dd7a908952e99176b52a25b11e24fee3a5e94153a2e271e269

See more details on using hashes here.

File details

Details for the file elastic_stacker-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for elastic_stacker-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 496c88b9e95fc7489885bfb394b43f1e405a9e034c7d0ded985a4dcbf4aafea0
MD5 f10f7e6ed80aea08995f2b994e36857e
BLAKE2b-256 6f8565c9264018c4a68e850b8bd76c003caf3295309fc568b27425538063687a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page