Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hoover fixes + enhancements #11

Open
wants to merge 3 commits into
base: master
from
Open
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

switch to triple quote

  • Loading branch information
thehesiod committed Mar 24, 2017
commit 85d4555e7f47a4161cfb73316e78c8816f28a2c4
@@ -84,13 +84,13 @@ def config_inputs(self):

@time_translate
def search(self, q='*', **kwargs):
'''Thin wrapper on Loggly's text search API. First parameter is a query
string.'''
"""Thin wrapper on Loggly's text search API. First parameter is a query
string."""
kwargs['q'] = q
return self._api_help('apiv2/search', kwargs)

def events(self, search_result, num_retries=5, **kwargs):
'''Thin wrapper on Loggly's events API. First parameter is the result from search.'''
"""Thin wrapper on Loggly's events API. First parameter is the result from search."""
kwargs['rsid'] = search_result['rsid']['id']

# large requests may take some time
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.