Skip to content

Files

This branch is 448 commits behind elastic/beats:main.

dev-tools

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 11, 2024
Nov 12, 2024
Dec 3, 2024
Sep 21, 2022
Oct 24, 2024
Dec 12, 2024
Feb 24, 2022
May 1, 2019
Jul 9, 2018
Mar 3, 2017
Feb 17, 2020
Feb 4, 2022
Jul 5, 2022
Sep 20, 2024
Nov 6, 2023
Feb 17, 2020
Nov 30, 2021
Feb 17, 2020
Oct 11, 2021
Feb 4, 2022
Jun 25, 2020
Feb 4, 2022
Feb 17, 2020
Jan 24, 2024
Jan 10, 2017
Feb 17, 2020
Feb 17, 2020

Available scripts

The following scripts are used by the unified release process:

File Description
get_version Returns the current version
set_version Sets the current version in all places where change is required. Doesn't commit changes.
deploy Builds all artifacts for the officially supported Beats

Other scripts:

File Description
aggregate_coverage.py Used to create coverage reports that contain both unit and system tests data
merge_pr Used to make it easier to open a PR that merges one branch into another.

Import / export the dashboards of a single Beat:

File Description
export_dashboards.py Python script to export the Beat dashboards from Elasticsearch to a local directory

Running export_dashboards.py in environment

If you are running the python script for the first time, you need to create the environment by running the following commands in the beats/dev-tools directory:

virtualenv env
. env/bin/activate
pip install -r requirements.txt

This creates the environment that contains all the python packages required to run the export_dashboards.py script. Thus, for the next runs you just need to enable the environment:

. env/bin/activate