Skip to main content

elastic-agent-setup

A python package to install and enroll an Elastic Agent on multiple host operating systems.

Getting Started

In order to use this package you must configure general settings for your environment. Here is an example of the configuration options:

from elastic_agent_setup import ElasticAgent

agent = ElasticAgent()
agent.configure(
    username='admin', 
    password='some_password'
    elasticsearch='https://elasticsearch:9200',
    kibana='https://kibana:5601',
    certificate_authority=None,
    verify_ssl=True
)

Once you have configured the elastic-agent-setup package you can either install or enroll your elastic-agent.

Please see Elatics documentation on the differences between enrolling and installing an agent.

Here is an example of installing an Elastic Agent:

from elastic_agent_setup import ElasticAgent

agent = ElasticAgent()
agent.configure(
    username='admin', 
    password='some_password'
    elasticsearch='https://elasticsearch:9200',
    kibana='https://kibana:5601',
    certificate_authority=None,
    verify_ssl=True
)

response = agent.install(
    version='7.12.1,
    preflight_check=True
)

print(response)

Built With

  • carcass - Python packaging template

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Metadata

Release files for elastic-agent-setup 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for elastic-agent-setup 0.0.11
File Size Uploaded Provenance
elastic-agent-setup-0.0.11.tar.gz 8.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for elastic-agent-setup 0.0.11
File Interpreter ABI Platform
elastic_agent_setup-0.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 25.7 kB

Release files / elastic-agent-setup-0.0.11.tar.gz

Download URL elastic-agent-setup-0.0.11.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5795e570facf751aa4e4a31bbb53559de19ef62631ff2143057dd43abef35f33
BLAKE2b-256 checksum
How to use checksums
03372c389dda67708a8e676ab503c926135950c01aae11c8789306b93e00f80f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.5

Release files / elastic_agent_setup-0.0.11-py3-none-any.whl

Download URL elastic_agent_setup-0.0.11-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9d332a14e9cef5cb03ef70ecd5177bde033f96e75d41fe8b69c481af42bf082
BLAKE2b-256 checksum
How to use checksums
847addded3ca856f821a16f9f2c38238ef69506c69610b03273f60013bfd3c3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.5

Security for elastic-agent-setup 0.0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page