Skip to content

JustinAzoff/splunky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Splunky

splunky is a stupid simple library for running queries against the Splunk API. It does not need the splunk SDK installed.

API Usage

import splunky
p=splunky.Server(host=host, username=username, password=pw)

for r in p.search_sync('hoursago=1 error'):
    print r['_raw']

CLI Usage

splunky-search 'hoursago=48 SPANTREE' -s splunk.example.com

About

stupid simple library for running queries against the Splunk API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages