MCPcopy Create free account

hub / github.com/WraySmith/log-anomaly / functions

Functions369 in github.com/WraySmith/log-anomaly

↓ 1 callersMethodsignatConstr
Calculate the occurancy of each word of each group, and for each group, save the words that happen more than half all log number to be ca
parse/logparser/LogSig/LogSig.py:128
↓ 1 callersFunctionsplitEachGroup
(eachGroup,split_threshold,loglinesEachGroup)
parse/logparser/LKE/LKE.py:281
↓ 1 callersMethodsplitting
(self)
parse/logparser/LKE/LKE.py:148
↓ 1 callersFunctiontempProcess
(tempPara)
parse/logparser/SLCT/SLCT.py:155
↓ 1 callersMethodtermpairGene
(self)
parse/logparser/LogSig/LogSig.py:55
↓ 1 callersMethodto_string
Returns the template's token as one string
parse/logparser/MoLFI/main/org/core/chromosome/template.py:25
↓ 1 callersMethodtokenize
Put logs into bins according to (# of '<*>', # of token)
parse/logparser/AEL/AEL.py:54
↓ 1 callersMethodtreeSearch
(self, rn, seq)
parse/logparser/Drain/Drain.py:60
↓ 1 callersMethodupdate
(self, new_words, logid)
parse/logparser/LenMa/templateminer/lenma_template.py:130
↓ 1 callersMethodwirteResultToFile
(self)
parse/logparser/LogCluster/LogCluster.py:86
↓ 1 callersMethodwriteResultToFile
(self)
parse/logparser/LKE/LKE.py:184
↓ 1 callersMethodwriteResultToFile
(self)
parse/logparser/LogSig/LogSig.py:196
MethodPrintEventStats
(self)
parse/logparser/IPLoM/IPLoM.py:584
MethodPrintPartitions
(self)
parse/logparser/IPLoM/IPLoM.py:576
Method__init__
(self, logformat, n_workers=1)
parse/logparser/utils/logloader.py:34
Method__init__
(self, path, split_threshold, rex, savePath, logformat)
parse/logparser/LKE/LKE.py:20
Method__init__
(self, log_format, indir='../logs/', outdir='./results/', split_threshold=4, rex=[], seed=1)
parse/logparser/LKE/LKE.py:28
Method__init__
(self, path, rex, savePath, groupNum, logformat)
parse/logparser/LogSig/LogSig.py:19
Method__init__
(self, indir, outdir, groupNum, log_format, rex=[], seed=0)
parse/logparser/LogSig/LogSig.py:27
Method__init__
(self, idx, log="", lev=-1)
parse/logparser/LogMine/LogMine.py:18
Method__init__
(self, indir, outdir, log_format, max_dist=0.001, levels=2, k=1, k1=1, k2=1, alpha=100, rex=[])
parse/logparser/LogMine/LogMine.py:24
Method__init__
(self, stepNo, numOfLogs=0, lenOfLogs=0)
parse/logparser/IPLoM/IPLoM.py:20
Method__init__
(self, eventStr)
parse/logparser/IPLoM/IPLoM.py:29
Method__init__
(self, log_format, indir, outdir, maxEventLen, step2Support, PST, CT, lowerBound, upperBound,
parse/logparser/IPLoM/IPLoM.py:50
Method__init__
(self, log_format, indir='../logs/', outdir='./result/', maxEventLen=200, step2Support=0, PST
parse/logparser/IPLoM/IPLoM.py:64
Method__init__
(self, logTemplate='', logIDL=[])
parse/logparser/Spell/Spell.py:20
Method__init__
(self, token='', templateNo=0)
parse/logparser/Spell/Spell.py:28
Method__init__
(self, indir='./', outdir='./result/', log_format=None, tau=0.5, rex=[], keep_para=True)
parse/logparser/Spell/Spell.py:45
Method__init__
(self, format='', logIDL=None, childL=None)
parse/logparser/SHISO/SHISO.py:18
Method__init__
Attributes ---------- path : the path of the input file logname : the file name of the input file savePath :t
parse/logparser/SHISO/SHISO.py:29
Method__init__
(self, logidx, Eventstr="")
parse/logparser/AEL/AEL.py:17
Method__init__
(self, indir, outdir, log_format, minEventCount=2, merge_percent=1, rex=[], keep_para=True)
parse/logparser/AEL/AEL.py:29
Method__init__
(self, logTemplate='', logIDL=None)
parse/logparser/Drain/Drain.py:16
Method__init__
(self, childD=None, depth=0, digitOrtoken=None)
parse/logparser/Drain/Drain.py:24
Method__init__
Attributes ---------- rex : regular expressions used in preprocessing (step1) path : the input path stores th
parse/logparser/Drain/Drain.py:33
Method__init__
(self, indir, outdir, log_format, rex=[], n_workers=1)
parse/logparser/MoLFI/MoLFI.py:22
Method__init__
The constructor with an attribute of type List of Template :param p_templates: a dictionary of Template
parse/logparser/MoLFI/main/org/core/chromosome/chromosome.py:11
Method__init__
The constructor of the Class Template initialize the object with a list of strings and initialize the frequency and specificity with
parse/logparser/MoLFI/main/org/core/chromosome/template.py:9
Method__init__
Initialize the class with the list of log messages
parse/logparser/MoLFI/main/org/core/operators/mutation.py:12
Method__init__
Initialize the objet with an list of strings :param p_message
parse/logparser/MoLFI/main/org/core/utility/message.py:8
Method__init__
Constructor that takes the path to the log file as input and saves the content of the file as a list of strings each item in the list
parse/logparser/MoLFI/main/org/core/utility/Chromosome_Generator.py:24
Method__init__
(self, p_generator: ChromosomeGenerator)
parse/logparser/MoLFI/main/org/core/fitness/objectives2D.py:12
Method__init__
A container that generates a Chromosome object
parse/logparser/MoLFI/main/org/core/metaheuristics/NSGA_II_2D.py:26
Method__init__
(self, path: str)
parse/logparser/MoLFI/main/org/core/validation/oracle.py:6
Method__init__
(self, indir, outdir, log_format, threshold=0.9, predefined_templates=None, rex=[])
parse/logparser/LenMa/LenMa.py:16
Method__init__
(self, index=None, words=None, logid=None, json=None)
parse/logparser/LenMa/templateminer/lenma_template.py:14
Method__init__
(self, threshold=0.9, predefined_templates=None)
parse/logparser/LenMa/templateminer/lenma_template.py:150
Method__init__
(self, index, words, logid)
parse/logparser/LenMa/templateminer/template.py:5
Method__init__
(self)
parse/logparser/LenMa/templateminer/template.py:69
Method__init__
(self, outdir='./result/', n_workers=1, optimized=False, logformat=None)
parse/logparser/logmatch/regexmatch.py:44
Method__init__
(self, indir, outdir, log_format, support, para_j=True, saveLog=False, rex=[])
parse/logparser/SLCT/SLCT.py:19
Method__init__
(self, path='./', logname='rawlog.log', savePath='./', templateName='slct_templates.txt', outlierName='slct_ou
parse/logparser/SLCT/SLCT.py:148
Method__init__
Arguments --------- rsupport = < relative_support > separator = < word_separator_regexp > lfilter
parse/logparser/LogCluster/LogCluster.py:16
Method__init__
(self, indir, outdir, log_format, rex=[])
parse/logparser/LFA/LFA.py:20
Method__init__
(self)
process/sliding_window_processor.py:67
Method__str__
(self)
parse/logparser/LenMa/templateminer/template.py:60
Method_dump_as_json
Dumps the data structure as a JSON format to serialize the object. This internal function is called by the TemplateManager cl
parse/logparser/LenMa/templateminer/template.py:28
Method_get_parameter_list
(self, row)
parse/logparser/logmatch/regexmatch.py:125
Method_restore_from_json
Initializes the instance with the provided JSON data. This internal function is normally called by the initializer.
parse/logparser/LenMa/templateminer/template.py:37
Method_try_update
(self, new_words)
parse/logparser/LenMa/templateminer/lenma_template.py:44
Methodcounts
(self)
parse/logparser/LenMa/templateminer/template.py:25
FunctiondeleteAllFiles
(dirPath)
parse/logparser/LKE/LKE.py:313
Methoddump_template
(self, index)
parse/logparser/LenMa/templateminer/lenma_template.py:159
Methoddump_template
Dumps a specified template data structure usually in a text format. Args: index: a template index. Returns:
parse/logparser/LenMa/templateminer/template.py:90
Functionevaluate
Evaluation function to benchmark log parsing accuracy Arguments --------- groundtruth : str file path of groundtruth
parse/logparser/utils/evaluator.py:13
Functionevaluate_individual
(indiv)
parse/logparser/MoLFI/main/org/core/metaheuristics/NSGA_II_2D.py:40
Methodgenerate_random_template
Randomly select a cluster with id X from messages :return: a template from the cluster X the template has a length = X
parse/logparser/MoLFI/main/org/core/utility/Chromosome_Generator.py:96
Methodget_parameter_list
(self, row)
parse/logparser/IPLoM/IPLoM.py:626
Methodget_parameter_list
(self, row)
parse/logparser/Spell/Spell.py:321
Methodget_parameter_list
(self, row)
parse/logparser/AEL/AEL.py:222
Methodget_parameter_list
(self, row)
parse/logparser/Drain/Drain.py:335
Methodget_similarity_score
Retruens a similarity score. Args: new_words: An array of words. Returns: score: in float.
parse/logparser/LenMa/templateminer/template.py:44
Functionlog_file_reader
(logpath)
parse/logparser/MoLFI/main/org/core/utility/log_file_reader.py:3
Functionmain
parse/logparser/SLCT/cslct.c:1447
FunctionmatchTempLog
(templates, logs)
parse/logparser/SLCT/SLCT.py:170
Methodmatch_df
(self, content)
parse/logparser/MoLFI/MoLFI.py:33
Methodmerge_event
(self, e1, e2)
parse/logparser/AEL/AEL.py:153
Methodnwords
(self)
parse/logparser/LenMa/templateminer/template.py:21
Methodparse
(self, logname)
parse/logparser/LogSig/LogSig.py:263
Methodparse
(self, logname)
parse/logparser/LogMine/LogMine.py:40
Methodparse
(self, logname)
parse/logparser/IPLoM/IPLoM.py:83
Methodparse
(self, logname)
parse/logparser/Spell/Spell.py:227
Methodparse
(self, logname)
parse/logparser/SHISO/SHISO.py:343
Methodparse
(self, logname)
parse/logparser/AEL/AEL.py:43
Methodparse
(self, logName)
parse/logparser/Drain/Drain.py:248
Methodparse
(self, log_file)
parse/logparser/MoLFI/MoLFI.py:39
Methodparse
(self, logname)
parse/logparser/SLCT/SLCT.py:31
Methodparse
(self, filename)
parse/logparser/LogCluster/LogCluster.py:61
Methodparse
(self, logname)
parse/logparser/LFA/LFA.py:29
Methodparse_messages_
Constructor that takes the path to the log file as input and saves the content of the file as a list of strings each item in the list
parse/logparser/MoLFI/main/org/core/utility/Chromosome_Generator.py:37
Methodpreprocess
(line)
parse/logparser/LogMine/LogMine.py:163
Methodpreprocess
(log)
parse/logparser/AEL/AEL.py:175
MethodprintTree
(self, node, dep)
parse/logparser/Spell/Spell.py:210
MethodprintTree
(self, node, dep)
parse/logparser/SHISO/SHISO.py:327
MethodprintTree
(self, node, dep)
parse/logparser/Drain/Drain.py:228
Methodprint_cluster
(self, cluster)
parse/logparser/LogMine/LogMine.py:128
Methodrestore_template
(self, data)
parse/logparser/LenMa/templateminer/lenma_template.py:162
Methodrestore_template
Creates a template instance from data (usually a serialized data when LogDatabase.close() method is called. This function is called b
parse/logparser/LenMa/templateminer/template.py:102
MethodsetUp
(self)
parse/logparser/MoLFI/test/org/core/utility/test_chromosome_generator.py:12
MethodsetUp
(self)
parse/logparser/MoLFI/test/org/core/test_validation/test_validate_chromosome.py:11
← previousnext →201–300 of 369, ranked by callers