Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/logpai/logparser
/ functions
Functions
314 in github.com/logpai/logparser
⨍
Functions
314
◇
Types & classes
46
↓ 36 callers
Method
format
(self, logName)
logparser/Brain/Brain.py:483
↓ 11 callers
Method
get_length
Get the number of strings in the list
logparser/MoLFI/src/main/org/core/utility/message.py:14
↓ 7 callers
Function
compute_matched_lines
(messages: dict, template: Template)
logparser/MoLFI/src/main/org/core/utility/match_utility.py:11
↓ 5 callers
Method
cluster_size
Get the number of templates inside a given cluster :return: an integer: number of templates
logparser/MoLFI/src/main/org/core/chromosome/chromosome.py:55
↓ 5 callers
Method
to_string
Convert the list of words to one string
logparser/MoLFI/src/main/org/core/utility/message.py:19
↓ 4 callers
Function
LCS
find the common part of two sequences
logparser/LKE/LKE.py:514
↓ 4 callers
Method
_get_accuracy_score2
(self, new_words)
logparser/LenMa/src/lenma_template.py:85
↓ 4 callers
Function
adapt_log_message
(log_message, regex=None)
logparser/MoLFI/src/main/org/core/utility/log_message_adaptation.py:15
↓ 4 callers
Method
match
(self, log_filepath, template_filepath)
logparser/logmatch/regexmatch.py:107
↓ 3 callers
Method
all_templates
Returns the total number of templates of a chromosome
logparser/MoLFI/src/main/org/core/chromosome/chromosome.py:62
↓ 3 callers
Method
generate_template_from_line
Generates a Template from a cluster
logparser/MoLFI/src/main/org/core/utility/Chromosome_Generator.py:106
↓ 3 callers
Method
index
(self)
logparser/LenMa/src/template.py:38
↓ 3 callers
Method
load_log_message
Adds a log message to messages :param message: an object of type Message :return: the attribute messages with an additional element
logparser/MoLFI/src/main/org/core/utility/Chromosome_Generator.py:158
↓ 3 callers
Function
match_score
(alpha, beta)
logparser/LogMine/src/alignment.py:23
↓ 3 callers
Method
parse
(self, logname)
logparser/LKE/LKE.py:306
↓ 3 callers
Method
parse
(self, logname)
logparser/LenMa/src/LenMa.py:48
↓ 3 callers
Method
set_changed
Sets the status of a template to True if one of its tokens changes, else the status is False (not changed)
logparser/MoLFI/src/main/org/core/chromosome/template.py:40
↓ 3 callers
Method
wordDist
(self, word1, word2)
logparser/SHISO/SHISO.py:115
↓ 2 callers
Method
Get_Rank_Posistion
(self, cardOfS, Lines_that_match_S, one_m)
logparser/IPLoM/IPLoM.py:524
↓ 2 callers
Method
LCS
(self, seq1, seq2)
logparser/Spell/Spell.py:71
↓ 2 callers
Method
SeqRatio
(self, seq1, seq2)
logparser/SHISO/SHISO.py:121
↓ 2 callers
Method
_append_template
Append a template. This internal function may be called by the LogDatabase class too. Args: template: a new
logparser/LenMa/src/template.py:141
↓ 2 callers
Method
_generate_template_regex
(self, template)
logparser/logmatch/regexmatch.py:63
↓ 2 callers
Method
addSeqToPrefixTree
(self, rootn, newCluster)
logparser/Spell/Spell.py:171
↓ 2 callers
Method
add_template
Adds a template to the chromosome :param template: an object of type Template :return: the template will be added to the
logparser/MoLFI/src/main/org/core/chromosome/chromosome.py:18
↓ 2 callers
Function
apply_tournament_selection
Tournament selection based on dominance (D) between two individuals, if the two individuals do not interdominate the selection is made based
logparser/MoLFI/src/main/org/core/operators/selection.py:4
↓ 2 callers
Function
comExit
(commonPart, seq)
logparser/LKE/LKE.py:507
↓ 2 callers
Method
get_clusters
(self, logs, lev, old_clusters=None)
logparser/LogMine/src/LogMine.py:126
↓ 2 callers
Method
get_length
Gets the number of strings in the list
logparser/MoLFI/src/main/org/core/chromosome/template.py:20
↓ 2 callers
Method
load_to_dataframe
Function to transform log file to dataframe
logparser/utils/logloader.py:33
↓ 2 callers
Function
match
Compare two lists of strings :param message: a message from the log file :param template: a template from the chromosome :return: True
logparser/MoLFI/src/main/org/core/utility/match_utility.py:27
↓ 2 callers
Function
mergeLists
(initGroup, flatLogLineGroups)
logparser/LKE/LKE.py:319
↓ 2 callers
Method
parse
(self, log_file_basename)
logparser/Logram/src/Logram.py:40
↓ 2 callers
Method
parse
(self, logname)
logparser/LogSig/LogSig.py:304
↓ 2 callers
Method
parse
(self, logname)
logparser/LogMine/src/LogMine.py:63
↓ 2 callers
Method
parse
(self, logname)
logparser/IPLoM/IPLoM.py:123
↓ 2 callers
Method
parse
(self, logname)
logparser/ULP/ULP.py:171
↓ 2 callers
Method
parse
(self, logname)
logparser/Spell/Spell.py:250
↓ 2 callers
Method
parse
(self, logname)
logparser/SHISO/SHISO.py:357
↓ 2 callers
Method
parse
(self, logname)
logparser/AEL/AEL.py:63
↓ 2 callers
Method
parse
(self, logName)
logparser/Drain/Drain.py:273
↓ 2 callers
Method
parse
(self, log_file)
logparser/MoLFI/src/MoLFI.py:46
↓ 2 callers
Method
parse
(self, logname)
logparser/SLCT/src/SLCT.py:40
↓ 2 callers
Method
parse
(self, logName)
logparser/Brain/Brain.py:49
↓ 2 callers
Method
parse
(self, filename)
logparser/LogCluster/src/LogCluster.py:136
↓ 2 callers
Method
parse
(self, logname)
logparser/LFA/LFA.py:35
↓ 2 callers
Function
validate_chromosome
(templates: dict, chromosome: Chromosome, out_file, fix=None)
logparser/MoLFI/src/main/org/core/validation/validate_chromosomes.py:23
↓ 2 callers
Method
wordToVect
(self, word)
logparser/SHISO/SHISO.py:93
↓ 2 callers
Function
zeros
(shape)
logparser/LogMine/src/alignment.py:11
↓ 1 callers
Method
Adjust
(self, pn, nidx, n)
logparser/SHISO/SHISO.py:240
↓ 1 callers
Method
DetermineP1P2
(self, partition)
logparser/IPLoM/IPLoM.py:555
↓ 1 callers
Method
Format
(self, seq1, seq2)
logparser/SHISO/SHISO.py:77
↓ 1 callers
Method
Get_Mapping_Position
(self, partition, uniqueTokensCountLS)
logparser/IPLoM/IPLoM.py:585
↓ 1 callers
Method
GetkMeansThreshold
k-means where k equals 2 to divide the edit distance into two groups
logparser/LKE/LKE.py:158
↓ 1 callers
Method
LCS
(self, seq1, seq2)
logparser/SHISO/SHISO.py:160
↓ 1 callers
Method
LCSMatch
(self, logClustL, seq)
logparser/Spell/Spell.py:124
↓ 1 callers
Method
LogMessParti
Use local search, for each log, find the group that it should be moved to. in this process, termpairs occurange should also make some
logparser/LogSig/LogSig.py:116
↓ 1 callers
Method
PrefixTreeMatch
(self, parentn, seq, idx)
logparser/Spell/Spell.py:109
↓ 1 callers
Function
SLCT
(para, log_format, rex)
logparser/SLCT/src/SLCT.py:45
↓ 1 callers
Method
Search
(self, n, nroot)
logparser/SHISO/SHISO.py:194
↓ 1 callers
Method
Sim
(self, seq1, seq2)
logparser/SHISO/SHISO.py:136
↓ 1 callers
Method
SimpleLoopMatch
(self, logClustL, seq)
logparser/Spell/Spell.py:96
↓ 1 callers
Method
Step1
(self)
logparser/IPLoM/IPLoM.py:135
↓ 1 callers
Method
Step2
(self)
logparser/IPLoM/IPLoM.py:179
↓ 1 callers
Method
Step3
(self)
logparser/IPLoM/IPLoM.py:239
↓ 1 callers
Method
Step4
(self)
logparser/IPLoM/IPLoM.py:435
↓ 1 callers
Method
SuperFormat
(self, seq1, seq2)
logparser/SHISO/SHISO.py:185
↓ 1 callers
Method
WriteEventToFile
(self)
logparser/IPLoM/IPLoM.py:486
↓ 1 callers
Method
_count_same_word_positions
(self, new_words)
logparser/LenMa/src/lenma_template.py:105
↓ 1 callers
Method
_dump_as_json
(self)
logparser/LenMa/src/lenma_template.py:56
↓ 1 callers
Method
_dump_match_result
(self, log_filename, log_dataframe)
logparser/logmatch/regexmatch.py:132
↓ 1 callers
Method
_generate_hash_eventId
(self, template_str)
logparser/logmatch/regexmatch.py:147
↓ 1 callers
Method
_generate_logformat_regex
Function to generate regular expression to split log messages
logparser/utils/logloader.py:72
↓ 1 callers
Method
_get_accuracy_score
(self, new_words)
logparser/LenMa/src/lenma_template.py:74
↓ 1 callers
Method
_get_similarity_score_cosine
(self, new_words)
logparser/LenMa/src/lenma_template.py:92
↓ 1 callers
Method
_get_similarity_score_jaccard
(self, new_words)
logparser/LenMa/src/lenma_template.py:99
↓ 1 callers
Method
_get_wcr
(self)
logparser/LenMa/src/lenma_template.py:82
↓ 1 callers
Method
_restore_from_json
(self, data)
logparser/LenMa/src/lenma_template.py:60
↓ 1 callers
Method
addSeqToPrefixTree
(self, rn, logClust)
logparser/Drain/Drain.py:107
↓ 1 callers
Method
add_event_template
(self, event_template, event_Id=None)
logparser/logmatch/regexmatch.py:47
↓ 1 callers
Method
add_template_to_reach_100cov
(self, ch: Chromosome, cluster_id: int)
logparser/MoLFI/src/main/org/core/operators/mutation_100cov.py:37
↓ 1 callers
Function
calDistance
calculate the distance betweent each two logs and save into a matrix
logparser/LKE/LKE.py:562
↓ 1 callers
Method
categorize
Abstract templates bin by bin
logparser/AEL/AEL.py:92
↓ 1 callers
Method
change_template
(self, ch: Chromosome, cluster_id: int, template_index: int)
logparser/MoLFI/src/main/org/core/operators/mutation.py:17
↓ 1 callers
Function
check_variable_parts
checks each variable element in a template agiants the values of the matched lines :param chromosome: the chromosome with the templates
logparser/MoLFI/src/main/org/core/utility/chromosome_corrections.py:6
↓ 1 callers
Method
clustering
(self)
logparser/LKE/LKE.py:96
↓ 1 callers
Method
compute_objective
Evaluate a chromosome compute 2 objectives: - frequency: #matched log messages ((/#log messages)/#template
logparser/MoLFI/src/main/org/core/fitness/objectives2D.py:16
↓ 1 callers
Method
delete_template
Deletes the template from the given cluster id :param index: cluster id :return the cluster with
logparser/MoLFI/src/main/org/core/chromosome/chromosome.py:32
↓ 1 callers
Function
derive_sub_template
(partition: List[Template], template_to_remove: Set[Template])
logparser/MoLFI/src/main/org/core/utility/match_utility.py:81
↓ 1 callers
Function
derive_super_template
(partition: List[Template], template_to_remove: Set[Template])
logparser/MoLFI/src/main/org/core/utility/match_utility.py:99
↓ 1 callers
Function
dfsTraversal
(key, logDict, flag, groupLoglist)
logparser/LKE/LKE.py:554
↓ 1 callers
Function
dictionaryBuilder
(log_format, logFile, rex)
logparser/Logram/src/DictionarySetUp.py:10
↓ 1 callers
Function
doubleMatch
(tokens, indexList, doubleDictionaryList, doubleThreshold, length)
logparser/Logram/src/MatchToken.py:32
↓ 1 callers
Method
down_split
(self, root_set_detail_ID, threshold, root_set_detail)
logparser/Brain/Brain.py:386
↓ 1 callers
Method
dump
(self)
logparser/LogMine/src/LogMine.py:87
↓ 1 callers
Method
dump
(self)
logparser/AEL/AEL.py:141
↓ 1 callers
Method
dump_results
(self)
logparser/LenMa/src/LenMa.py:66
↓ 1 callers
Method
dump_results
(self)
logparser/LFA/LFA.py:108
↓ 1 callers
Function
editDistOfSeq
the edit distance of two logs
logparser/LKE/LKE.py:579
↓ 1 callers
Function
entropy
(wordsOnPosit, totalNum)
logparser/LKE/LKE.py:546
next →
1–100 of 314, ranked by callers