Skip to main content

sumologic-python

Sumologic’s python api library

The library currently supports the following features:

  • search

  • collectors

from sumologic import Client, Collectors, Search

# Need a client to authenticate to service
client = Client(auth=('username', 'password'))

# collector usage
collector = Collectors(client)
for c in collector.get_collectors():
    print('{0}:{1}'.format(c['name'], c['alive']))

# find and delete a collector
c = collector.find('logserver')
c.delete()

# search usage
search = Search(client)
results = search.query('log1', formats='json')
print(results)

To see the library in use, go to sumologic-cli repo.

Metadata

Release files for sumologic 0.1.4

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

Built distribution (wheel)

Table of built distributions (wheels) for sumologic 0.1.4
File Interpreter ABI Platform Actions
sumologic-0.1.4-py2-none-any.whl Python 2 none any Details for sumologic-0.1.4-py2-none-any.whl

Release files / sumologic-0.1.4-py2-none-any.whl

Download URL sumologic-0.1.4-py2-none-any.whl
Size 5.9 kB
Tags Python 2
SHA-256 checksum
How to use checksums
21d911e15e5f097cbbaeaff5fdbff3265ef05b32e2b94fa1aa5721560252a90f
BLAKE2b-256 checksum
How to use checksums
55a49454e551507bd4c0d9e992e661b17d1b3b044ac584169ae8e7adff6e8f15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for sumologic 0.1.4

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