![]() |
bmSearch
0.0.4
|
Public Member Functions | |
def | __init__ (self) |
def | retrieveBmsearchId (self, msgid) |
def | sendData (self, data) |
def | setParam (self, kwargs) |
Public Attributes | |
dates | |
headers | |
params | |
timeInterval | |
Static Public Attributes | |
APIURL = config.APIURL | |
res | |
requestToELK: Class to send HTTP request (get/post) to an ELK platform
def requestToELK.requestToELK.__init__ | ( | self | ) |
__init__ : Set default headers Set a (dict) dates from bmDate
def requestToELK.requestToELK.retrieveBmsearchId | ( | self, | |
msgid | |||
) |
retrieveBmsearchId : Try to retrieve Elasticsearch storage elements/informations (_id, _index and _type) from (str) msgid search request.
def requestToELK.requestToELK.sendData | ( | self, | |
data | |||
) |
sendData : Post (dict) data to an ELK platform data have not to be JSON formated
def requestToELK.requestToELK.setParam | ( | self, | |
kwargs | |||
) |
setParam: overload params with these in **kwargs. Params available are : timeInterval For details have a look in /etc/bmSearch/config.py
|
static |
requestToELK.requestToELK.dates |
requestToELK.requestToELK.headers |
requestToELK.requestToELK.params |
|
static |
requestToELK.requestToELK.timeInterval |