Skip to main content

pyglog

A CLI for Graylog API calls

You must set GRAYLOG_ADDR and GRAYLOG_TOKEN or define them in a .env file.

Example:

GRAYLOG_ADDR="https://graylog.example.com"

GRAYLOG_TOKEN="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

Usage:

$ pyglog [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • list-sidecars: List Sidecars
  • list-configurations: List Sidecar Configurations
  • list-configurations-by-tag: List Sidecar Configurations associated...
  • list-matching-sidecars: List Sidecars that contain the search string
  • get-configuration-by-id: Get details for a configuration by ID.
  • get-configuration-by-tag: Get details for a configuration by tag name.
  • get-sidecar-by-id: Get sidecar by ID
  • get-sidecar-details: Get details for Sidecars that match the...
  • apply-configuration-sidecars: Apply a Configuration to Sidecars with a...
  • remove-configuration-sidecars: Remove a Configuration from Sidecars with...

pyglog list-sidecars

List Sidecars

Usage:

$ pyglog list-sidecars [OPTIONS]

Options:

  • -s, --silent: Silent mode. No output.
  • --help: Show this message and exit.

pyglog list-configurations

List Sidecar Configurations

Usage:

$ pyglog list-configurations [OPTIONS]

Options:

  • -s, --silent: Silent mode. No output.
  • --help: Show this message and exit.

pyglog list-configurations-by-tag

List Sidecar Configurations associated with tag

Arguments:

tag: The name of the tag.

Usage:

$ pyglog list-configurations-by-tag [OPTIONS] TAG

Arguments:

  • TAG: [required]

Options:

  • -s, --silent: Silent mode. No output.
  • --help: Show this message and exit.

pyglog list-matching-sidecars

List Sidecars that contain the search string

Arguments:

search_string: A substring that matches one or more sidecar hostnames.

Usage:

$ pyglog list-matching-sidecars [OPTIONS] SEARCH_STRING

Arguments:

  • SEARCH_STRING: [required]

Options:

  • --help: Show this message and exit.

pyglog get-configuration-by-id

Get details for a configuration by ID.

Usage:

$ pyglog get-configuration-by-id [OPTIONS] CONFIGURATION_ID

Arguments:

  • CONFIGURATION_ID: [required]

Options:

  • -s, --silent: Silent mode. No output.
  • --help: Show this message and exit.

pyglog get-configuration-by-tag

Get details for a configuration by tag name.

Usage:

$ pyglog get-configuration-by-tag [OPTIONS] CONFIGURATION_TAG

Arguments:

  • CONFIGURATION_TAG: [required]

Options:

  • -s, --silent: Silent mode. No output.
  • --help: Show this message and exit.

pyglog get-sidecar-by-id

Get sidecar by ID

Usage:

$ pyglog get-sidecar-by-id [OPTIONS] SIDECAR_ID

Arguments:

  • SIDECAR_ID: [required]

Options:

  • --help: Show this message and exit.

pyglog get-sidecar-details

Get details for Sidecars that match the search string

Arguments:

search_string: A string that matches sidecar hostnames.

Usage:

$ pyglog get-sidecar-details [OPTIONS] SEARCH_STRING

Arguments:

  • SEARCH_STRING: [required]

Options:

  • -s, --silent: Silent mode. No output.
  • --help: Show this message and exit.

pyglog apply-configuration-sidecars

Apply a Configuration to Sidecars with a hostname that contains the search string.

Arguments:

search_string: A substring that matches one or more sidecar hostnames.

tag_id: The tag used to locate the configuration to be applied

Usage:

$ pyglog apply-configuration-sidecars [OPTIONS] SEARCH_STRING TAG_ID

Arguments:

  • SEARCH_STRING: [required]
  • TAG_ID: [required]

Options:

  • --no-confirm: Do not prompt for confirmation.
  • --help: Show this message and exit.

pyglog remove-configuration-sidecars

Remove a Configuration from Sidecars with a hostname that contains the search string.

Arguments:

search_string: A substring that matches one or more sidecar hostnames.

tag_id: The tag used to locate the configuration to be applied

Usage:

$ pyglog remove-configuration-sidecars [OPTIONS] SEARCH_STRING TAG_ID

Arguments:

  • SEARCH_STRING: [required]
  • TAG_ID: [required]

Options:

  • --no-confirm: Do not prompt for confirmation.
  • --help: Show this message and exit.

Metadata

Release files for pyglog-annek 0.5.3

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

Source distribution (sdist)

Source distribution for pyglog-annek 0.5.3
File Size Uploaded Provenance Actions
pyglog_annek-0.5.3.tar.gz 6.3 kB Without provenance Details for pyglog_annek-0.5.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyglog-annek 0.5.3
File Interpreter ABI Platform Actions
pyglog_annek-0.5.3-py3-none-any.whl Python 3 none any Details for pyglog_annek-0.5.3-py3-none-any.whl

Total release size: 14.3 kB

Release files / pyglog_annek-0.5.3.tar.gz

Download URL pyglog_annek-0.5.3.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
caaa17b73ef14bf3a2c418eb6a0907f9bf48670bd323bd713c9fa8e6bb5ab881
BLAKE2b-256 checksum
How to use checksums
f1ad05bfa2cdd542f567d859cfba1c3058865be06250504463870b83a429b4a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.5 Darwin/24.5.0

Release files / pyglog_annek-0.5.3-py3-none-any.whl

Download URL pyglog_annek-0.5.3-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b4b50793f930a18ee90fd61d104df1b51124c836903383799e995ff7731a854
BLAKE2b-256 checksum
How to use checksums
8f16509a5e7c74937d8abd432e6003b696ac774cbd6563c185f34ad66cc86192
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.5 Darwin/24.5.0

Security for pyglog-annek 0.5.3

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