Skip to main content

A CLI for Loggly search

Project description

loggly-search

A CLI for Loggly search

Installation

pip install loggly-search

Configuration

You'll need both your account subdomain (ex. myaccount of myaccount.loggly.com) and an API token to use this tool. Both of these can then be passed via the --subdomain and --token parameters or through the LOGGLY_SUBDOMAIN and LOGGLY_TOKEN environment variables.

loggly-search --subdomain myaccount --token abcxyz

Usage Examples

loggly-search --from=-7d CRITERIA
loggly-search --from '2022-05-17T08:00:00.000-04:00' --to '2022-05-17T10:00:00.000-04:00' CRITERIA

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

loggly-search-0.1.0.tar.gz (2.4 kB view hashes)

Uploaded source

Built Distribution

loggly_search-0.1.0-py3-none-any.whl (2.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page