Simple Search API for the SumoLogic Python SDK
Install requires pip >= 19.
Usage:
from sumologic import SumoLogic
from sumo_simple import SumoLogicSimple
from datetime import timedelta
sumo = SumoLogic(MY_ACCESS_ID, MY_ACCESS_KEY)
simple = SumoLogicSimple(sumo)
fields, messages, aggregates = simple.search('''
_sourceCategory=nginx/prod
''', startTime=timedelta(minutes=-10)
)
print([message for message in messages])
TODO: Publish to PyPI
Metadata
Release files for sumologic-simple 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sumologic-simple-0.1.1.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sumologic_simple-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.5 kB
Release files / sumologic-simple-0.1.1.tar.gz
| Download URL | sumologic-simple-0.1.1.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d57d1f6c4afa3fa88a43adf1e0d614d116ede6804bf57031bb9ee204c4a68051
|
|
BLAKE2b-256 checksum How to use checksums |
43dfd3fc9baebe7bd67d296325bb887265218423335236a9c5bd8a70b2151d3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.2 CPython/3.6.9 Linux/4.15.0-74-generic
|
Release files / sumologic_simple-0.1.1-py3-none-any.whl
| Download URL | sumologic_simple-0.1.1-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a006a3c136e1d69ce61cdbf47a5744cd788bae47131a4677a95580aaef834f8
|
|
BLAKE2b-256 checksum How to use checksums |
de59f8fc3e7d2de4e841176bee60a2f7a264071a0c8a8df657255a43e77e4aab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.2 CPython/3.6.9 Linux/4.15.0-74-generic
|