Skip to main content

Python library for working with the Sumo Logic api.

Project description

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

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

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

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
sumologic-0.1.4-py2-none-any.whl (5.9 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jan 2, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page