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 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