MCPcopy Create free account

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

Functions369 in github.com/WraySmith/log-anomaly

↓ 55 callersFunctionlog_msg
parse/logparser/SLCT/cslct.c:90
↓ 28 callersFunctionadapt_log_message
(log_message, regex=None)
parse/logparser/MoLFI/main/org/core/utility/log_message_adaptation.py:15
↓ 14 callersMethodget_length
Get the number of strings in the list
parse/logparser/MoLFI/main/org/core/utility/message.py:14
↓ 14 callersFunctionprint_usage
parse/logparser/SLCT/cslct.c:1436
↓ 13 callersMethodcluster_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 callersMethodto_string
Convert the list of words to one string
parse/logparser/MoLFI/main/org/core/utility/message.py:19
↓ 11 callersFunctioncompute_matched_lines
(messages: dict, template: Template)
parse/logparser/MoLFI/main/org/core/utility/match_utility.py:11
↓ 9 callersMethodadd_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 callersMethodfit_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 callersMethodgenerate_template_from_line
Generates a Template from a cluster
parse/logparser/MoLFI/main/org/core/utility/Chromosome_Generator.py:106
↓ 6 callersFunctionstr2hash
parse/logparser/SLCT/cslct.c:102
↓ 5 callersFunctionfind_words
parse/logparser/SLCT/cslct.c:115
↓ 5 callersFunctionis_correct
(templates: List[List[str]], t: Template)
parse/logparser/MoLFI/main/org/core/validation/validate_chromosomes.py:72
↓ 5 callersFunctionmatch
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 callersMethodnumber_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 callersFunctionLCS
(seq1, seq2)
parse/logparser/LKE/LKE.py:447
↓ 4 callersMethod_get_accuracy_score2
(self, new_words)
parse/logparser/LenMa/templateminer/lenma_template.py:62
↓ 4 callersMethodall_templates
Returns the total number of templates of a chromosome
parse/logparser/MoLFI/main/org/core/chromosome/chromosome.py:62
↓ 4 callersFunctioncheck_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 callersMethodcompute_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 callersMethoddelete_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 callersFunctionfind_elem
parse/logparser/SLCT/cslct.c:337
↓ 4 callersFunctionis_all_star_template
(template: Template)
parse/logparser/MoLFI/main/org/core/utility/chromosome_corrections.py:29
↓ 4 callersMethodload_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 callersMethodset_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 callersFunctioncollect_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 callersMethodget_length
Gets the number of strings in the list
parse/logparser/MoLFI/main/org/core/chromosome/template.py:20
↓ 3 callersMethodmatch
(self, log_filepath, template_filepath)
parse/logparser/logmatch/regexmatch.py:101
↓ 3 callersFunctionmatch_score
(alpha, beta)
parse/logparser/LogMine/alignment.py:19
↓ 3 callersMethodparse
(self, logname)
parse/logparser/LKE/LKE.py:252
↓ 3 callersFunctionremove_sub_templates
(chromosome: Chromosome, cluster_id: int)
parse/logparser/MoLFI/main/org/core/utility/match_utility.py:61
↓ 3 callersMethodto_string
Prints the content of a chromosome :return: all templates as a string
parse/logparser/MoLFI/main/org/core/chromosome/chromosome.py:70
↓ 3 callersMethodtransform
transforms x test X_seq : log sequence data
process/sliding_window_processor.py:146
↓ 3 callersFunctionvalidate_chromosome
(templates: dict, chromosome: Chromosome, out_file, fix=None)
parse/logparser/MoLFI/main/org/core/validation/validate_chromosomes.py:23
↓ 3 callersMethodwordDist
(self, word1, word2)
parse/logparser/SHISO/SHISO.py:96
↓ 2 callersMethodGet_Rank_Posistion
(self, cardOfS, Lines_that_match_S, one_m)
parse/logparser/IPLoM/IPLoM.py:432
↓ 2 callersMethodLCS
(self, seq1, seq2)
parse/logparser/Spell/Spell.py:55
↓ 2 callersMethodSeqRatio
(self, seq1, seq2)
parse/logparser/SHISO/SHISO.py:103
↓ 2 callersMethod_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 callersMethod_generate_template_regex
(self, template)
parse/logparser/logmatch/regexmatch.py:65
↓ 2 callersMethodaddSeqToPrefixTree
(self, rootn, newCluster)
parse/logparser/Spell/Spell.py:152
↓ 2 callersFunctionadd_elem
parse/logparser/SLCT/cslct.c:274
↓ 2 callersMethodadd_template_to_reach_100cov
(self, ch: Chromosome, cluster_id: int)
parse/logparser/MoLFI/main/org/core/operators/mutation_100cov.py:37
↓ 2 callersFunctionapply_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 callersMethodchange_template
(self, ch: Chromosome, cluster_id: int, template_index: int)
parse/logparser/MoLFI/main/org/core/operators/mutation.py:17
↓ 2 callersFunctioncomExit
(commonPart,seq)
parse/logparser/LKE/LKE.py:440
↓ 2 callersFunctionderive_sub_template
(partition: List[Template], template_to_remove: Set[Template])
parse/logparser/MoLFI/main/org/core/utility/match_utility.py:81
↓ 2 callersFunctionderive_super_template
(partition: List[Template], template_to_remove: Set[Template])
parse/logparser/MoLFI/main/org/core/utility/match_utility.py:99
↓ 2 callersFunctionfix_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 callersFunctionfree_table
parse/logparser/SLCT/cslct.c:361
↓ 2 callersMethodgenerate_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 callersMethodget_clusters
(self, logs, lev, old_clusters=None)
parse/logparser/LogMine/LogMine.py:91
↓ 2 callersMethodis_changed
Returns the status of the template (changed or did not change)
parse/logparser/MoLFI/main/org/core/chromosome/template.py:35
↓ 2 callersFunctionload_test_data
loads test data of 100 rows
process/test_sliding_window_processor.py:10
↓ 2 callersMethodload_to_dataframe
Function to transform log file to dataframe
parse/logparser/utils/logloader.py:41
↓ 2 callersFunctionmergeLists
(initGroup,flatLogLineGroups)
parse/logparser/LKE/LKE.py:265
↓ 2 callersFunctionremove_super_templates
(chromosome: Chromosome, cluster_id: int)
parse/logparser/MoLFI/main/org/core/utility/match_utility.py:71
↓ 2 callersFunctionresize_time_image
compresses time images that had more sequences then the set max sequence length
process/sliding_window_processor.py:52
↓ 2 callersFunctionsequence_padder
right pads events sequence until max sequence length long
process/sliding_window_processor.py:38
↓ 2 callersFunctiontemplate_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 callersFunctionwindower
creates an array of arrays of windows output array is of length: len(sequence) - window_size + 1
process/sliding_window_processor.py:30
↓ 2 callersMethodwordToVect
(self, word)
parse/logparser/SHISO/SHISO.py:73
↓ 2 callersFunctionzeros
(shape)
parse/logparser/LogMine/alignment.py:7
↓ 1 callersMethodAdjust
(self, pn, nidx, n)
parse/logparser/SHISO/SHISO.py:231
↓ 1 callersMethodDetermineP1P2
(self, partition)
parse/logparser/IPLoM/IPLoM.py:457
↓ 1 callersMethodFormat
(self, seq1, seq2)
parse/logparser/SHISO/SHISO.py:56
↓ 1 callersMethodGet_Mapping_Position
(self, partition, uniqueTokensCountLS)
parse/logparser/IPLoM/IPLoM.py:488
↓ 1 callersMethodGetkMeansThreshold
(self, distArray)
parse/logparser/LKE/LKE.py:116
↓ 1 callersMethodLCS
(self, seq1, seq2)
parse/logparser/SHISO/SHISO.py:145
↓ 1 callersMethodLCSMatch
(self, logClustL, seq)
parse/logparser/Spell/Spell.py:107
↓ 1 callersMethodLogMessParti
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 callersMethodPrefixTreeMatch
(self, parentn, seq, idx)
parse/logparser/Spell/Spell.py:91
↓ 1 callersFunctionSLCT
(para, log_format, rex)
parse/logparser/SLCT/SLCT.py:36
↓ 1 callersMethodSearch
(self, n, nroot)
parse/logparser/SHISO/SHISO.py:181
↓ 1 callersMethodSim
(self, seq1, seq2)
parse/logparser/SHISO/SHISO.py:119
↓ 1 callersMethodSimpleLoopMatch
(self, logClustL, seq)
parse/logparser/Spell/Spell.py:80
↓ 1 callersMethodStep1
(self)
parse/logparser/IPLoM/IPLoM.py:95
↓ 1 callersMethodStep2
(self)
parse/logparser/IPLoM/IPLoM.py:131
↓ 1 callersMethodStep3
(self)
parse/logparser/IPLoM/IPLoM.py:186
↓ 1 callersMethodStep4
(self)
parse/logparser/IPLoM/IPLoM.py:360
↓ 1 callersMethodSuperFormat
(self, seq1, seq2)
parse/logparser/SHISO/SHISO.py:171
↓ 1 callersMethodWriteEventToFile
(self)
parse/logparser/IPLoM/IPLoM.py:411
↓ 1 callersMethod_count_same_word_positions
(self, new_words)
parse/logparser/LenMa/templateminer/lenma_template.py:82
↓ 1 callersMethod_dump_as_json
(self)
parse/logparser/LenMa/templateminer/lenma_template.py:33
↓ 1 callersMethod_dump_match_result
(self, log_filename, log_dataframe)
parse/logparser/logmatch/regexmatch.py:116
↓ 1 callersMethod_generate_hash_eventId
(self, template_str)
parse/logparser/logmatch/regexmatch.py:122
↓ 1 callersMethod_generate_logformat_regex
Function to generate regular expression to split log messages
parse/logparser/utils/logloader.py:71
↓ 1 callersMethod_get_accuracy_score
(self, new_words)
parse/logparser/LenMa/templateminer/lenma_template.py:51
↓ 1 callersMethod_get_similarity_score_cosine
(self, new_words)
parse/logparser/LenMa/templateminer/lenma_template.py:69
↓ 1 callersMethod_get_similarity_score_jaccard
(self, new_words)
parse/logparser/LenMa/templateminer/lenma_template.py:76
↓ 1 callersMethod_get_wcr
(self)
parse/logparser/LenMa/templateminer/lenma_template.py:59
↓ 1 callersMethod_restore_from_json
(self, data)
parse/logparser/LenMa/templateminer/lenma_template.py:37
↓ 1 callersMethodaddSeqToPrefixTree
(self, rn, logClust)
parse/logparser/Drain/Drain.py:88
↓ 1 callersMethodadd_event_template
(self, event_template, event_Id=None)
parse/logparser/logmatch/regexmatch.py:54
↓ 1 callersMethodapply_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 callersFunctioncalDistance
(wordLL,v,path)
parse/logparser/LKE/LKE.py:491
↓ 1 callersMethodcategorize
Abstract templates bin by bin
parse/logparser/AEL/AEL.py:72
↓ 1 callersMethodclustering
(self)
parse/logparser/LKE/LKE.py:64
↓ 1 callersFunctioncreate_cluster_candidates
parse/logparser/SLCT/cslct.c:581
↓ 1 callersFunctioncreate_cluster_vector
parse/logparser/SLCT/cslct.c:511
next →1–100 of 369, ranked by callers