![]() |
bmSearch
0.0.4
|
Public Member Functions | |
def | __init__ (self) |
def | parseContent (self) |
def | setParam (self, kwargs) |
Public Attributes | |
cyrusDelivered | |
dates | |
Dates | |
indexmax | |
initFirstLinePattern | |
maillog | |
startLine | |
timeInterval | |
Static Public Attributes | |
initpos | |
now | |
updateCyrusTags : Has to open mail.log file, parse each line since a block address try to update ELK entries (messages)
def updateCyrusTags.updateCyrusTags.__init__ | ( | self | ) |
__init__ : constructor
Regex : Cyrus/IMAP : this line is relative to a délivery success
def updateCyrusTags.updateCyrusTags.parseContent | ( | self | ) |
parseContent : read line from getFileContent(), and call cf parseLine()
def updateCyrusTags.updateCyrusTags.setParam | ( | self, | |
kwargs | |||
) |
setParam : set paramaters from config file or kwagrs **kwargs file : path to file to parse. I can be plain text, gzip or bzip2 compressed. By default what configured in /etc/bmSearch/config.py timeInterval : time expressed in second when to sleep the update process between two ELK connection
updateCyrusTags.updateCyrusTags.cyrusDelivered |
updateCyrusTags.updateCyrusTags.dates |
updateCyrusTags.updateCyrusTags.Dates |
updateCyrusTags.updateCyrusTags.indexmax |
updateCyrusTags.updateCyrusTags.initFirstLinePattern |
|
static |
updateCyrusTags.updateCyrusTags.maillog |
|
static |
updateCyrusTags.updateCyrusTags.startLine |
updateCyrusTags.updateCyrusTags.timeInterval |