Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WraySmith/log-anomaly
/ functions
Functions
369 in github.com/WraySmith/log-anomaly
⨍
Functions
369
◇
Types & classes
85
↓ 55 callers
Function
log_msg
parse/logparser/SLCT/cslct.c:90
↓ 28 callers
Function
adapt_log_message
(log_message, regex=None)
parse/logparser/MoLFI/main/org/core/utility/log_message_adaptation.py:15
↓ 14 callers
Method
get_length
Get the number of strings in the list
parse/logparser/MoLFI/main/org/core/utility/message.py:14
↓ 14 callers
Function
print_usage
parse/logparser/SLCT/cslct.c:1436
↓ 13 callers
Method
cluster_size
Get the number of templates inside a given cluster :return: an integer: number of templates
parse/logparser/MoLFI/main/org/core/chromosome/chromosome.py:55
↓ 12 callers
Method
to_string
Convert the list of words to one string
parse/logparser/MoLFI/main/org/core/utility/message.py:19
↓ 11 callers
Function
compute_matched_lines
(messages: dict, template: Template)
parse/logparser/MoLFI/main/org/core/utility/match_utility.py:11
↓ 9 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 cor
parse/logparser/MoLFI/main/org/core/chromosome/chromosome.py:18
↓ 8 callers
Method
fit_transform
Fit and transform the training set X_Seq: ndarray, log sequences matrix term_weighting: None or `tf-idf` length_perc
process/sliding_window_processor.py:76
↓ 6 callers
Method
generate_template_from_line
Generates a Template from a cluster
parse/logparser/MoLFI/main/org/core/utility/Chromosome_Generator.py:106
↓ 6 callers
Function
str2hash
parse/logparser/SLCT/cslct.c:102
↓ 5 callers
Function
find_words
parse/logparser/SLCT/cslct.c:115
↓ 5 callers
Function
is_correct
(templates: List[List[str]], t: Template)
parse/logparser/MoLFI/main/org/core/validation/validate_chromosomes.py:72
↓ 5 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 if
parse/logparser/MoLFI/main/org/core/utility/match_utility.py:27
↓ 5 callers
Method
number_of_clusters
Get the number of clusters inside the chromosome :return: an integer: number of cluster
parse/logparser/MoLFI/main/org/core/chromosome/chromosome.py:48
↓ 4 callers
Function
LCS
(seq1, seq2)
parse/logparser/LKE/LKE.py:447
↓ 4 callers
Method
_get_accuracy_score2
(self, new_words)
parse/logparser/LenMa/templateminer/lenma_template.py:62
↓ 4 callers
Method
all_templates
Returns the total number of templates of a chromosome
parse/logparser/MoLFI/main/org/core/chromosome/chromosome.py:62
↓ 4 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
parse/logparser/MoLFI/main/org/core/utility/chromosome_corrections.py:6
↓ 4 callers
Method
compute_objective
Evaluate a chromosome compute 2 objectives: - frequency: #matched log messages ((/#log messages)/#templates)
parse/logparser/MoLFI/main/org/core/fitness/objectives2D.py:16
↓ 4 callers
Method
delete_template
Deletes the template from the given cluster id :param index: cluster id :return the cluster without
parse/logparser/MoLFI/main/org/core/chromosome/chromosome.py:32
↓ 4 callers
Function
find_elem
parse/logparser/SLCT/cslct.c:337
↓ 4 callers
Function
is_all_star_template
(template: Template)
parse/logparser/MoLFI/main/org/core/utility/chromosome_corrections.py:29
↓ 4 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
parse/logparser/MoLFI/main/org/core/utility/Chromosome_Generator.py:158
↓ 4 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)
parse/logparser/MoLFI/main/org/core/chromosome/template.py:40
↓ 3 callers
Function
collect_event_ids
turns input data_frame into a 2 columned dataframe with columns: BlockId, EventSequence where EventSequence is a list of the events that
process/sliding_window_processor.py:12
↓ 3 callers
Method
get_length
Gets the number of strings in the list
parse/logparser/MoLFI/main/org/core/chromosome/template.py:20
↓ 3 callers
Method
match
(self, log_filepath, template_filepath)
parse/logparser/logmatch/regexmatch.py:101
↓ 3 callers
Function
match_score
(alpha, beta)
parse/logparser/LogMine/alignment.py:19
↓ 3 callers
Method
parse
(self, logname)
parse/logparser/LKE/LKE.py:252
↓ 3 callers
Function
remove_sub_templates
(chromosome: Chromosome, cluster_id: int)
parse/logparser/MoLFI/main/org/core/utility/match_utility.py:61
↓ 3 callers
Method
to_string
Prints the content of a chromosome :return: all templates as a string
parse/logparser/MoLFI/main/org/core/chromosome/chromosome.py:70
↓ 3 callers
Method
transform
transforms x test X_seq : log sequence data
process/sliding_window_processor.py:146
↓ 3 callers
Function
validate_chromosome
(templates: dict, chromosome: Chromosome, out_file, fix=None)
parse/logparser/MoLFI/main/org/core/validation/validate_chromosomes.py:23
↓ 3 callers
Method
wordDist
(self, word1, word2)
parse/logparser/SHISO/SHISO.py:96
↓ 2 callers
Method
Get_Rank_Posistion
(self, cardOfS, Lines_that_match_S, one_m)
parse/logparser/IPLoM/IPLoM.py:432
↓ 2 callers
Method
LCS
(self, seq1, seq2)
parse/logparser/Spell/Spell.py:55
↓ 2 callers
Method
SeqRatio
(self, seq1, seq2)
parse/logparser/SHISO/SHISO.py:103
↓ 2 callers
Method
_append_template
Append a template. This internal function may be called by the LogDatabase class too. Args: template: a new templa
parse/logparser/LenMa/templateminer/template.py:116
↓ 2 callers
Method
_generate_template_regex
(self, template)
parse/logparser/logmatch/regexmatch.py:65
↓ 2 callers
Method
addSeqToPrefixTree
(self, rootn, newCluster)
parse/logparser/Spell/Spell.py:152
↓ 2 callers
Function
add_elem
parse/logparser/SLCT/cslct.c:274
↓ 2 callers
Method
add_template_to_reach_100cov
(self, ch: Chromosome, cluster_id: int)
parse/logparser/MoLFI/main/org/core/operators/mutation_100cov.py:37
↓ 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 o
parse/logparser/MoLFI/main/org/core/operators/selection.py:4
↓ 2 callers
Method
change_template
(self, ch: Chromosome, cluster_id: int, template_index: int)
parse/logparser/MoLFI/main/org/core/operators/mutation.py:17
↓ 2 callers
Function
comExit
(commonPart,seq)
parse/logparser/LKE/LKE.py:440
↓ 2 callers
Function
derive_sub_template
(partition: List[Template], template_to_remove: Set[Template])
parse/logparser/MoLFI/main/org/core/utility/match_utility.py:81
↓ 2 callers
Function
derive_super_template
(partition: List[Template], template_to_remove: Set[Template])
parse/logparser/MoLFI/main/org/core/utility/match_utility.py:99
↓ 2 callers
Function
fix_all_star_template
(ch: Chromosome, cluster_id: int, template_index: int, messages: dict)
parse/logparser/MoLFI/main/org/core/utility/chromosome_corrections.py:38
↓ 2 callers
Function
free_table
parse/logparser/SLCT/cslct.c:361
↓ 2 callers
Method
generate_100cov_chromosome
Create a chromosome with 100 coverage for each cluster the created chromosome shuold have the same keys as the messages of the chromo
parse/logparser/MoLFI/main/org/core/utility/Chromosome_Generator.py:135
↓ 2 callers
Method
get_clusters
(self, logs, lev, old_clusters=None)
parse/logparser/LogMine/LogMine.py:91
↓ 2 callers
Method
is_changed
Returns the status of the template (changed or did not change)
parse/logparser/MoLFI/main/org/core/chromosome/template.py:35
↓ 2 callers
Function
load_test_data
loads test data of 100 rows
process/test_sliding_window_processor.py:10
↓ 2 callers
Method
load_to_dataframe
Function to transform log file to dataframe
parse/logparser/utils/logloader.py:41
↓ 2 callers
Function
mergeLists
(initGroup,flatLogLineGroups)
parse/logparser/LKE/LKE.py:265
↓ 2 callers
Function
remove_super_templates
(chromosome: Chromosome, cluster_id: int)
parse/logparser/MoLFI/main/org/core/utility/match_utility.py:71
↓ 2 callers
Function
resize_time_image
compresses time images that had more sequences then the set max sequence length
process/sliding_window_processor.py:52
↓ 2 callers
Function
sequence_padder
right pads events sequence until max sequence length long
process/sliding_window_processor.py:38
↓ 2 callers
Function
template_match
Compare two lists of strings :param template1: first template :param template2: second template :return: True if template1 is a "sub-set"
parse/logparser/MoLFI/main/org/core/utility/match_utility.py:44
↓ 2 callers
Function
windower
creates an array of arrays of windows output array is of length: len(sequence) - window_size + 1
process/sliding_window_processor.py:30
↓ 2 callers
Method
wordToVect
(self, word)
parse/logparser/SHISO/SHISO.py:73
↓ 2 callers
Function
zeros
(shape)
parse/logparser/LogMine/alignment.py:7
↓ 1 callers
Method
Adjust
(self, pn, nidx, n)
parse/logparser/SHISO/SHISO.py:231
↓ 1 callers
Method
DetermineP1P2
(self, partition)
parse/logparser/IPLoM/IPLoM.py:457
↓ 1 callers
Method
Format
(self, seq1, seq2)
parse/logparser/SHISO/SHISO.py:56
↓ 1 callers
Method
Get_Mapping_Position
(self, partition, uniqueTokensCountLS)
parse/logparser/IPLoM/IPLoM.py:488
↓ 1 callers
Method
GetkMeansThreshold
(self, distArray)
parse/logparser/LKE/LKE.py:116
↓ 1 callers
Method
LCS
(self, seq1, seq2)
parse/logparser/SHISO/SHISO.py:145
↓ 1 callers
Method
LCSMatch
(self, logClustL, seq)
parse/logparser/Spell/Spell.py:107
↓ 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 cha
parse/logparser/LogSig/LogSig.py:96
↓ 1 callers
Method
PrefixTreeMatch
(self, parentn, seq, idx)
parse/logparser/Spell/Spell.py:91
↓ 1 callers
Function
SLCT
(para, log_format, rex)
parse/logparser/SLCT/SLCT.py:36
↓ 1 callers
Method
Search
(self, n, nroot)
parse/logparser/SHISO/SHISO.py:181
↓ 1 callers
Method
Sim
(self, seq1, seq2)
parse/logparser/SHISO/SHISO.py:119
↓ 1 callers
Method
SimpleLoopMatch
(self, logClustL, seq)
parse/logparser/Spell/Spell.py:80
↓ 1 callers
Method
Step1
(self)
parse/logparser/IPLoM/IPLoM.py:95
↓ 1 callers
Method
Step2
(self)
parse/logparser/IPLoM/IPLoM.py:131
↓ 1 callers
Method
Step3
(self)
parse/logparser/IPLoM/IPLoM.py:186
↓ 1 callers
Method
Step4
(self)
parse/logparser/IPLoM/IPLoM.py:360
↓ 1 callers
Method
SuperFormat
(self, seq1, seq2)
parse/logparser/SHISO/SHISO.py:171
↓ 1 callers
Method
WriteEventToFile
(self)
parse/logparser/IPLoM/IPLoM.py:411
↓ 1 callers
Method
_count_same_word_positions
(self, new_words)
parse/logparser/LenMa/templateminer/lenma_template.py:82
↓ 1 callers
Method
_dump_as_json
(self)
parse/logparser/LenMa/templateminer/lenma_template.py:33
↓ 1 callers
Method
_dump_match_result
(self, log_filename, log_dataframe)
parse/logparser/logmatch/regexmatch.py:116
↓ 1 callers
Method
_generate_hash_eventId
(self, template_str)
parse/logparser/logmatch/regexmatch.py:122
↓ 1 callers
Method
_generate_logformat_regex
Function to generate regular expression to split log messages
parse/logparser/utils/logloader.py:71
↓ 1 callers
Method
_get_accuracy_score
(self, new_words)
parse/logparser/LenMa/templateminer/lenma_template.py:51
↓ 1 callers
Method
_get_similarity_score_cosine
(self, new_words)
parse/logparser/LenMa/templateminer/lenma_template.py:69
↓ 1 callers
Method
_get_similarity_score_jaccard
(self, new_words)
parse/logparser/LenMa/templateminer/lenma_template.py:76
↓ 1 callers
Method
_get_wcr
(self)
parse/logparser/LenMa/templateminer/lenma_template.py:59
↓ 1 callers
Method
_restore_from_json
(self, data)
parse/logparser/LenMa/templateminer/lenma_template.py:37
↓ 1 callers
Method
addSeqToPrefixTree
(self, rn, logClust)
parse/logparser/Drain/Drain.py:88
↓ 1 callers
Method
add_event_template
(self, event_template, event_Id=None)
parse/logparser/logmatch/regexmatch.py:54
↓ 1 callers
Method
apply_mutation
Applies mutation on a chromosome modify an existing template from a cluster :param ch: chromosome to mutate :return: the modi
parse/logparser/MoLFI/main/org/core/operators/mutation_100cov.py:12
↓ 1 callers
Function
calDistance
(wordLL,v,path)
parse/logparser/LKE/LKE.py:491
↓ 1 callers
Method
categorize
Abstract templates bin by bin
parse/logparser/AEL/AEL.py:72
↓ 1 callers
Method
clustering
(self)
parse/logparser/LKE/LKE.py:64
↓ 1 callers
Function
create_cluster_candidates
parse/logparser/SLCT/cslct.c:581
↓ 1 callers
Function
create_cluster_vector
parse/logparser/SLCT/cslct.c:511
next →
1–100 of 369, ranked by callers