Skip to main content

Create CSV from elasticsearch

Project description

pylastic-report

Flag Default Description
-h or --help Show this help message and exit.
-u or --h

###Example commands to run:

python __main__.py -u localhost -i testing-* -p 9200 -g 2022-03-01T00:00:00 -l 2022-03-30T23:59:59 -q "i_test:*TEST*"

To build binary executable in linux:

make

or run command:

pyinstaller -F --clean --noconfirm -n pylastic_report __main__.py

and copy the binary to the /usr/bin folder.

Prerequisites:

Need bz2 for installation.

Ubuntu/Debian:

sudo apt-get install libbz2-dev
yum install bzip2-devel

Install, check oudated list of packages

pip install -r requirements.txt
pip list --outdated

update the packages:

pip install pip-upgrader

remove packages:

pip freeze > unins && pip uninstall -y -r unins && rm unins

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

pylastic_exporter-2.0.15.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distributions

pylastic_exporter-2.0.15-py3.8.egg (21.9 kB view hashes)

Uploaded Source

pylastic_exporter-2.0.15-py3-none-any.whl (11.3 kB view hashes)

Uploaded Python 3

Supported by

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