WO2017083148A1 - Periodicity analysis on heterogeneous logs - Google Patents
Periodicity analysis on heterogeneous logs Download PDFInfo
- Publication number
- WO2017083148A1 WO2017083148A1 PCT/US2016/060131 US2016060131W WO2017083148A1 WO 2017083148 A1 WO2017083148 A1 WO 2017083148A1 US 2016060131 W US2016060131 W US 2016060131W WO 2017083148 A1 WO2017083148 A1 WO 2017083148A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- log
- heterogeneous
- time series
- logs
- messages
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/04—Inference or reasoning models
- G06N5/046—Forward inferencing; Production systems
- G06N5/047—Pattern matching networks; Rete networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
Definitions
- the system relates to machine determination of periodic event behaviors.
- a periodic event is an event that happens regularly over and over again at a fixed interval or a set of fixed intervals (meaning the time between events is substantially the same or among several possible values).
- Periodicity analysis from the recorded log data is an important task which provides useful insights into the physical events and enables a system to report outliers and predict future behaviors.
- FIG. 1 shows a set of text logs mined from IT system logs including the periodical pattern of a system event type: it happens twice a day, around 1:00AM and 14:00PM. Based on the log event periodicity learnt from FIG. 1, unexpected system behaviors can be detected.
- FIG. 2 shows the detection of two events that violate the 1:00AM and 14:00PM periodicity.
- Some methods apply statistical analysis techniques on a single time series of one event type.
- a probabilistic measure for periodicity, ePeriodicity has been used to detect periods. This is done by applying different potential periodicity length T to segment the time series into multiple length-T time series, overlay those time series, and report as the periodicity the value T that have the largest clustering behavior measured by an event conditional probability.
- FIG. 1 shows an exemplary periodic event example mined from IT system logs.
- FIG. 2 shows exemplary system anomalies detected through the log event periodicity checking.
- FIG. 3 shows an exemplary Category Model Based Periodicity Analysis (CMBPA) process.
- CMBPA Category Model Based Periodicity Analysis
- FIG. 4 shows an exemplary CMBPA logs-to-time series conversion procedure.
- FIG. 5 shows an exemplary CMBPA time series data for the logs in FIG. 1.
- FIG. 5 shows an exemplary CMBPA time series data for the logs in FIG. 1.
- FIG. 7 shows an exemplary category model output for the logs in FIG. 1.
- FIG. 8 shows an exemplary CMBPA logs-to-time series conversion procedure.
- FIG. 9 shows an exemplary CMBPA category model testing procedure.
- FIG. 10 shows an exemplary Category model testing output for the logs in
- FIG. 11 shows exemplary hardware for FIG. 1.
- Systems and methods are disclosed for detecting periodic event behaviors from machine generated logging by: capturing heterogeneous log messages, each log message including a time stamp and text content with one or more fields; transforming the text content into a set of time series data; during a training phase, analyzing the set of time series data and building a category model for each periodic event type in heterogeneous logs; and during live operation, applying the category model to a stream of time series data from live
- heterogeneous log messages and generating a flag on a time series data point violating the category model and generating corresponding log messages.
- a system in another aspect, includes a mechanical actuator; a digitizer coupled to the actuator to log data; a module for detecting periodic event behaviors from machine generated logging, including code for: capturing heterogeneous log messages, each log message including a time stamp and text content with one or more fields; transforming the text content into a set of time series data; during a training phase, analyzing the set of time series data and building a category model for each periodic event type in heterogeneous logs; and during live operation, applying the category model to a stream of time series data from live heterogeneous log messages and generating a flag on a time series data point violating the category model and generating corresponding log messages.
- the actuator can be a motor or an engine that generates periodic event behaviors that need monitoring for performance, reliability, or maintenance purposes, for example.
- Advantages of the system may include one or more of the following.
- the invention transforms heterogeneous logs into multiple time series, and provides a fast and robust mechanism to discover potentially multiple periods existing in each time series.
- the periodicity discovery mechanism is based on a category model with the parameters of fitness score, category center and error bounds.
- the system also provides linear methods to build the category model and test periodicity anomalies based on the category model.
- the system significantly reduces the complexity of finding statistically periodic event patterns in huge amount of heterogeneous log, even when prior knowledge about the system might not be available.
- the present principles construct an automatic periodic pattern mining method for heterogeneous logs in a principled way, and allow faster operation and system updates.
- FIG. 3 shows one exemplary process called Category Model Based
- CMBPA Periodicity Analysis
- a log message consists of a time stamp and the text content with one or multiple fields.
- Category model generation This step analyzes the set of time series output by 102, and builds a category model for each periodic event type in heterogeneous logs.
- Heterogeneous log collection for testing This step takes heterogeneous logs collected from the same system in 101 for periodicity behavior testing.
- a log message consists of a time stamp and the text content with one or multiple fields.
- the testing data may come in one batch as a log file, or come in a stream process.
- This step analyzes the set of time series data output by 102 based on the corresponding category models output by 103, and outputs alarms on any time series data point violating the category model and the corresponding log messages.
- Log management applications This step applies a set of management applications onto the heterogeneous logs from 101 based on the category models output by 103, or onto the heterogeneous logs from 104 based on the category model checking output by 106.
- log based fault management can be applied by discovering missing log messages not shown up on expected time points, or detecting abnormal log messages shown up on unexpected time points output by 106.
- FIG. 4 shows the details of the CMBPA logs-to-time series conversion procedure as follows:
- Log format recognition A set of log formats matching the training logs can be provided by users directly, or generated automatically by a format recognition procedure on all the heterogeneous logs as below:
- a tokenization is processed is so as to generate semantically meaningful tokens from logs.
- a similarity measurement on heterogeneous logs is applied. This similarity measurement leverages both the log layout information and log content information, and it is specially tailored to arbitrary heterogeneous logs.
- a log hierarchical clustering algorithm can be applied so as to generate and output a log cluster hierarchy. CMPBA allows users to plug in their favorite hierarchical clustering algorithms.
- 201. b Once the log cluster hierarchies are received, within each cluster that on the lowest level in the log cluster hierarchy, the logs are aligned.
- the log alignment is designed to preserve the unknown layouts of heterogeneous logs so as to help log pattern recognition in the following steps.
- log motif discovery is conducted so as to find the most representative layouts and log fields.
- the following step is pattern recognition from such motifs.
- fields such as time stamps, Internet Protocol (IP) addresses and universal resource locators (URLs) are recognized.
- IP Internet Protocol
- URLs universal resource locators
- other fields which are highly conserved in the logs are recognized and organized in a data structure in the cluster hierarchy. Note that the above log motif discovery and pattern recognition are first done in the lowest level of the log hierarchy. After that, all the information is back propagated up to higher levels in the hierarchy, and fused with their local patterns to provide format pattern representations from the logs.
- FIG. 5 shows a part of the time series for the logs in FIG. 1 matched on the log format " ⁇ %TIME_STAMP ⁇ (%IP_ADDRESS) COMMIT"
- FIG. 6 shows the details of the CMBPA category model generation procedure.
- the category model generation procedure to decide if it contains a periodic event pattern, and in case of yes, the detailed periodicity model: 301. estimate categories, counter the appearance times of unique values in the time series Y, sort those unique values in an increasing order, and record them in an ordered list
- model categories If there is no category model, stops here. Otherwise, for the final category model the model parameter
- FIG. 7 shows two categories are generated for the logs in FIG. 1: one with the Center value 3.96E7 (11-hour interval) & error bound 0, and another with the Center value 4.68E7 (13-hour interval) & error bound 0; the fitness score for the whole category model is 0.9629629629629629.
- FIG. 8 shows the details of the CM BPA logs-to-time series conversion procedure for the testing procedure: 501.
- Log format selection From the set of log formats generated in 201, only the formats with category models are selected for the rest of the testing procedure.
- Per-message time stamp recognition For each log message i in the testing data, find the log format/, for that it matches (e.g., through a regular expression testing), and extract the time stamp t for / ' . If i does not find a matching format, it will be filtered out for the rest of the testing procedure.
- FIG. 9 shows the details of the CMBPA category model testing procedure. For each log message i having a matching format fi in 105, following is the category model testing procedure to decide if it violates the periodicity behavior described by fi's category model and an anomaly should be reported:
- FIG. 10 shows the three periodicity anomalies detected from the logs in FIG. 2 based on the periodicity model learnt from the logs in FIG. 1.
- the processing system 100 includes at least one processor (CPU) 104 operatively coupled to other components.
- CPU processor
- a cache 106 operatively coupled to the system bus 102.
- ROM Read Only Memory
- RAM Random Access Memory
- I/O input/output
- sound adapter 130 operatively coupled to the system bus 102.
- network adapter 140 operatively coupled to the system bus 102.
- user interface adapter 150 operatively coupled to the system bus 102.
- a first storage device 122 and a second storage device 124 are operatively coupled to a system bus 102 by the I/O adapter 120.
- the storage devices 122 and 124 can be any of a disk storage device (e.g., a magnetic or optical disk storage device), a solid state magnetic device, and so forth.
- the storage devices 122 and 124 can be the same type of storage device or different types of storage devices.
- a speaker 132 is operatively coupled to the system bus 102 by the sound adapter 130.
- a transceiver 142 is operatively coupled to the system bus 102 by a network adapter 140.
- a display device 162 is operatively coupled to the system bus 102 by a display adapter 160.
- a first user input device 152, a second user input device 154, and a third user input device 156 are operatively coupled to the system bus 102 by a user interface adapter 150.
- the user input devices 152, 154, and 156 can be any of a keyboard, a mouse, a keypad, an image capture device, a motion sensing device, a microphone, a device incorporating the functionality of at least two of the preceding devices, and so forth.
- the user input devices 152, 154, and 156 can be the same type of user input device or different types of user input devices.
- the user input devices 152, 154, and 156 are used to input and output information to and from the system 100.
- processing system 100 may also include other elements (not shown), as readily contemplated by one of skill in the art, as well as omit certain elements.
- processing system 100 may also include other elements (not shown), as readily contemplated by one of skill in the art, as well as omit certain elements.
- various other input devices and/or output devices can be included in the processing system 100, depending upon the particular
- embodiments described herein may be entirely hardware, or may include both hardware and software elements which includes, but is not limited to, firmware, resident software, microcode, etc.
- Embodiments may include a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system.
- a computer-usable or computer readable medium may include any apparatus that stores, communicates, propagates, or transports the program for use by or in connection with the instruction execution system, apparatus, or device.
- the medium can be magnetic, optical, electronic, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium.
- the medium may include a computer-readable storage medium such as a
- a data processing system suitable for storing and/or executing program code may include at least one processor, e.g., a hardware processor, coupled directly or indirectly to memory elements through a system bus.
- the memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code to reduce the number of times code is retrieved from bulk storage during execution.
- I/O devices I/O devices
- I/O controllers may be coupled to the system either directly or through intervening I/O controllers.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Artificial Intelligence (AREA)
- Medical Informatics (AREA)
- Computational Linguistics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Systems and methods are disclosed for detecting periodic event behaviors from machine generated logging by: capturing heterogeneous log messages, each log message including a time stamp and text content with one or more fields; recognizing log formats from log messages; transforming the text content into a set of time series data, one time series for each log format; during a training phase, analyzing the set of time series data and building a category model for each periodic event type in heterogeneous logs; and during live operation, applying the category model to a stream of time series data from live heterogeneous log messages and generating a flag on a time series data point violating the category model and generating an alarm report for the corresponding log message.
Description
PERIODICITY ANALYSIS ON HETEROGENEOUS LOGS
BACKGROUND
The system relates to machine determination of periodic event behaviors.
A periodic event is an event that happens regularly over and over again at a fixed interval or a set of fixed intervals (meaning the time between events is substantially the same or among several possible values). Periodicity analysis from the recorded log data is an important task which provides useful insights into the physical events and enables a system to report outliers and predict future behaviors. For example, FIG. 1 shows a set of text logs mined from IT system logs including the periodical pattern of a system event type: it happens twice a day, around 1:00AM and 14:00PM. Based on the log event periodicity learnt from FIG. 1, unexpected system behaviors can be detected. For example, FIG. 2 shows the detection of two events that violate the 1:00AM and 14:00PM periodicity.
To mine periodicity in an event, systems have to face real-world challenges of inherently complicated periodic behaviors and imperfect data collection problem. Specifically, the hidden temporal periodic behaviors could be oscillating and noisy. Traditional periodicity analysis methods, such as Fourier transform (FFT) and auto-correlation usually require the data to be evenly sampled, that is, there is an observation at every timestamp. Even though some extensions of Fourier transform have been proposed to handle uneven data samples, they are still not applicable to the case with very low sampling rate.
Some methods apply statistical analysis techniques on a single time series of one event type. A probabilistic measure for periodicity, ePeriodicity, has been
used to detect periods. This is done by applying different potential periodicity length T to segment the time series into multiple length-T time series, overlay those time series, and report as the periodicity the value T that have the largest clustering behavior measured by an event conditional probability.
BRIEF DESCRIPTION OF TH E DRAWINGS
FIG. 1 shows an exemplary periodic event example mined from IT system logs.
FIG. 2 shows exemplary system anomalies detected through the log event periodicity checking.
FIG. 3 shows an exemplary Category Model Based Periodicity Analysis (CMBPA) process.
FIG. 4 shows an exemplary CMBPA logs-to-time series conversion procedure.
FIG. 5 shows an exemplary CMBPA time series data for the logs in FIG. 1.
FIG. 5 shows an exemplary CMBPA time series data for the logs in FIG. 1.
FIG. 7 shows an exemplary category model output for the logs in FIG. 1.
FIG. 8 shows an exemplary CMBPA logs-to-time series conversion procedure.
FIG. 9 shows an exemplary CMBPA category model testing procedure. FIG. 10 shows an exemplary Category model testing output for the logs in
FIG. 2.
FIG. 11 shows exemplary hardware for FIG. 1.
SUMMARY
Systems and methods are disclosed for detecting periodic event behaviors from machine generated logging by: capturing heterogeneous log messages, each log message including a time stamp and text content with one or more fields; transforming the text content into a set of time series data; during a training phase, analyzing the set of time series data and building a category model for each periodic event type in heterogeneous logs; and during live operation, applying the category model to a stream of time series data from live
heterogeneous log messages and generating a flag on a time series data point violating the category model and generating corresponding log messages.
In another aspect, a system includes a mechanical actuator; a digitizer coupled to the actuator to log data; a module for detecting periodic event behaviors from machine generated logging, including code for: capturing heterogeneous log messages, each log message including a time stamp and text content with one or more fields; transforming the text content into a set of time series data; during a training phase, analyzing the set of time series data and building a category model for each periodic event type in heterogeneous logs; and during live operation, applying the category model to a stream of time series data from live heterogeneous log messages and generating a flag on a time series data point violating the category model and generating corresponding log messages.
In implementations, the actuator can be a motor or an engine that generates periodic event behaviors that need monitoring for performance, reliability, or maintenance purposes, for example.
Advantages of the system may include one or more of the following.
Instead of treating the input data as a single time series, the invention transforms heterogeneous logs into multiple time series, and provides a fast and robust mechanism to discover potentially multiple periods existing in each time series. The periodicity discovery mechanism is based on a category model with the parameters of fitness score, category center and error bounds. The system also provides linear methods to build the category model and test periodicity anomalies based on the category model. The system significantly reduces the complexity of finding statistically periodic event patterns in huge amount of heterogeneous log, even when prior knowledge about the system might not be available. By integrating advanced text mining and time series analysis in a novel way, the present principles construct an automatic periodic pattern mining method for heterogeneous logs in a principled way, and allow faster operation and system updates.
DESCRIPTION
FIG. 3 shows one exemplary process called Category Model Based
Periodicity Analysis (CMBPA) for heterogeneous logs. The process operates as follows:
101. Heterogeneous log collection for training. This step takes heterogeneous logs from arbitrary/unknown systems or applications. A log message consists of a time stamp and the text content with one or multiple fields.
102. Logs to time series conversion. This step transforms original training text logs into a set of time series data.
103. Category model generation. This step analyzes the set of time series output by 102, and builds a category model for each periodic event type in heterogeneous logs.
104. Heterogeneous log collection for testing. This step takes heterogeneous logs collected from the same system in 101 for periodicity behavior testing. A log message consists of a time stamp and the text content with one or multiple fields. The testing data may come in one batch as a log file, or come in a stream process.
105. Logs to time series conversion. This step transforms original testing text logs into a set of time series data.
106. Category model checking. This step analyzes the set of time series data output by 102 based on the corresponding category models
output by 103, and outputs alarms on any time series data point violating the category model and the corresponding log messages.
107. Log management applications. This step applies a set of management applications onto the heterogeneous logs from 101 based on the category models output by 103, or onto the heterogeneous logs from 104 based on the category model checking output by 106. For example, log based fault management can be applied by discovering missing log messages not shown up on expected time points, or detecting abnormal log messages shown up on unexpected time points output by 106.
FIG. 4 shows the details of the CMBPA logs-to-time series conversion procedure as follows:
201. Log format recognition. A set of log formats matching the training logs can be provided by users directly, or generated automatically by a format recognition procedure on all the heterogeneous logs as below:
201. a - Taking arbitrary heterogeneous logs (step 101), a tokenization is processed is so as to generate semantically meaningful tokens from logs. After the heterogeneous logs are tokenized, a similarity measurement on heterogeneous logs is applied. This similarity measurement leverages both the log layout information and log content information, and it is specially tailored to arbitrary heterogeneous logs. Once the similarities among logs are captured, a log hierarchical clustering algorithm can be applied so as to generate and output a log cluster hierarchy. CMPBA allows users to plug in their favorite hierarchical clustering algorithms.
201. b - Once the log cluster hierarchies are received, within each cluster that on the lowest level in the log cluster hierarchy, the logs are aligned. The log alignment is designed to preserve the unknown layouts of heterogeneous logs so as to help log pattern recognition in the following steps. Once the logs are aligned, log motif discovery is conducted so as to find the most representative layouts and log fields. The following step is pattern recognition from such motifs. First, fields such as time stamps, Internet Protocol (IP) addresses and universal resource locators (URLs) are recognized. Second, other fields which are highly conserved in the logs are recognized and organized in a data structure in the cluster hierarchy. Note that the above log motif discovery and pattern recognition are first done in the lowest level of the log hierarchy. After that, all the information is back propagated up to higher levels in the hierarchy, and fused with their local patterns to provide format pattern representations from the logs.
202. Per-format time series generation. For each unique format in the clustering hierarchy, following is the time series generation procedure on all the heterogeneous logs:
202. a - find all log messages that match the pattern format (e.g., through a regular expression testing).
202. b - order those matched messages based on the time stamps in them. Assume there are K ordered messages, denote their time stamps as X = {XI, X2, ... , XK}.
202. c - output the inter-arrival time series as Y = {Yl= X2-X1, Y2= X3-X2, ... , YK-1= XK-XK-1}.
For example, FIG. 5 shows a part of the time series for the logs in FIG. 1 matched on the log format "{%TIME_STAMP} (%IP_ADDRESS) COMMIT"
Yl=46800000
Y2=39600000
Y3=46800000
Y4=39600000
Y5=46800000
Y6=39600000
Y7=46800000
Y8=39600000
FIG. 6 shows the details of the CMBPA category model generation procedure. For each log format Y with the inter-arrival time series Y = {Yl, Y2, ... , YK-1} output from 202, following is the category model generation procedure to decide if it contains a periodic event pattern, and in case of yes, the detailed periodicity model:
301. estimate categories, counter the appearance times of unique values in the time series Y, sort those unique values in an increasing order, and record them in an ordered list
appearance time of the unique value C, in Y.
302. cluster estimated categories. From the estimated category values in Cestimated, we will cluster them based on their distance given a category distance ratio σ (e.g., σ=0.01).
302. a - calculate the distance of each value in Cestimated to its next neighbor in the sorted list:
302. b - initialize a list From i= 1 to (u-1), if the distance
value dj satisfies that i is added into the list
the time series Y.
302. d - if the list Dindex is not empty, initialize the final category model as a list and set k=l. From i= 1 to u:
add it into the final category model
302. d.2 -if i is in Dindex, finds the longest consecutive integer sequence (i, i+1, i+2, i+c) in Dindex, creates a new category list C'k ={C„
and add it into the final category model
k=k+l.
303. model categories If there is no category model, stops here. Otherwise, for the final category model
the model parameter
choose the unique value with the largest appearance time in Y as the cluster center of the category Ck. we choose
the error bound as the largest distance of the unique values in C'k to its center.
For example, FIG. 7 shows two categories are generated for the logs in FIG. 1: one with the Center value 3.96E7 (11-hour interval) & error bound 0, and another with the Center value 4.68E7 (13-hour interval) & error bound 0; the fitness score for the whole category model is 0.9629629629629629.
FIG. 8 shows the details of the CM BPA logs-to-time series conversion procedure for the testing procedure:
501. Log format selection. From the set of log formats generated in 201, only the formats with category models are selected for the rest of the testing procedure.
502. Per-message time stamp recognition. For each log message i in the testing data, find the log format/, for that it matches (e.g., through a regular expression testing), and extract the time stamp t for /'. If i does not find a matching format, it will be filtered out for the rest of the testing procedure.
FIG. 9 shows the details of the CMBPA category model testing procedure. For each log message i having a matching format fi in 105, following is the category model testing procedure to decide if it violates the periodicity behavior described by fi's category model and an anomaly should be reported:
601. find the category. Let T be the inter-arrival time of log i and the previous log matching format/j. For format 's category model
message i violates the periodicity behavior described by 's category model. Otherwise it does not violate any periodicity behavior.
603. report an anomaly. If log message i violates the periodicity behavior, the category model fitness score is checked; if it is larger than a threshold a (e.g., 0.5), an anomaly will be reported; otherwise, an anomaly will not be reported until κ (e.g., 2) consecutive logs matching format/j including the log message i violate the periodicity behavior.
FIG. 10 shows the three periodicity anomalies detected from the logs in FIG. 2 based on the periodicity model learnt from the logs in FIG. 1.
Referring to the drawings in which like numerals represent the same or similar elements and initially to FIG. 11, a block diagram describing an exemplary processing system 100 to which the present principles may be applied is shown, according to an embodiment of the present principles. The processing system 100 includes at least one processor (CPU) 104 operatively coupled to other
components via a system bus 102. A cache 106, a Read Only Memory (ROM) 108, a Random Access Memory (RAM) 110, an input/output (I/O) adapter 120, a sound adapter 130, a network adapter 140, a user interface adapter 150, and a display adapter 160, are operatively coupled to the system bus 102.
A first storage device 122 and a second storage device 124 are operatively coupled to a system bus 102 by the I/O adapter 120. The storage devices 122 and 124 can be any of a disk storage device (e.g., a magnetic or optical disk storage device), a solid state magnetic device, and so forth. The storage devices 122 and 124 can be the same type of storage device or different types of storage devices.
A speaker 132 is operatively coupled to the system bus 102 by the sound adapter 130. A transceiver 142 is operatively coupled to the system bus 102 by a network adapter 140. A display device 162 is operatively coupled to the system bus 102 by a display adapter 160. A first user input device 152, a second user input device 154, and a third user input device 156 are operatively coupled to the system bus 102 by a user interface adapter 150. The user input devices 152, 154, and 156 can be any of a keyboard, a mouse, a keypad, an image capture device, a motion sensing device, a microphone, a device incorporating the functionality of
at least two of the preceding devices, and so forth. Of course, other types of input devices can also be used while maintaining the spirit of the present principles. The user input devices 152, 154, and 156 can be the same type of user input device or different types of user input devices. The user input devices 152, 154, and 156 are used to input and output information to and from the system 100.
Of course, the processing system 100 may also include other elements (not shown), as readily contemplated by one of skill in the art, as well as omit certain elements. For example, various other input devices and/or output devices can be included in the processing system 100, depending upon the particular
implementation of the same, as readily understood by one of ordinary skill in the art. For example, various types of wireless and/or wired input and/or output devices can be used. Moreover, additional processors, controllers, memories, and so forth, in various configurations, can also be utilized as readily appreciated by one of ordinary skill in the art. These and other variations of the processing system 100 are readily contemplated by one of ordinary skill in the art given the teachings of the present principles provided herein.
It should be understood that embodiments described herein may be entirely hardware, or may include both hardware and software elements which includes, but is not limited to, firmware, resident software, microcode, etc.
Embodiments may include a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. A computer-usable or computer readable medium may include any apparatus that stores, communicates, propagates, or transports the program for use by or in
connection with the instruction execution system, apparatus, or device. The medium can be magnetic, optical, electronic, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium. The medium may include a computer-readable storage medium such as a
semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk, etc.
A data processing system suitable for storing and/or executing program code may include at least one processor, e.g., a hardware processor, coupled directly or indirectly to memory elements through a system bus. The memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code to reduce the number of times code is retrieved from bulk storage during execution. Input/output or I/O devices
(including but not limited to keyboards, displays, pointing devices, etc.) may be coupled to the system either directly or through intervening I/O controllers.
The foregoing is to be understood as being in every respect illustrative and exemplary, but not restrictive, and the scope of the invention disclosed herein is not to be determined from the Detailed Description, but rather from the claims as interpreted according to the full breadth permitted by the patent laws. It is to be understood that the embodiments shown and described herein are only illustrative of the principles of the present invention and that those skilled in the art may implement various modifications without departing from the scope and spirit of the invention. Those skilled in the art could implement various other
feature combinations without departing from the scope and spirit of the invention.
Claims
1. A method for detecting periodic event behaviors from machine generated logging, comprising:
capturing heterogeneous log messages, each log message including a time stamp and text content with one or more fields;
transforming the text content into a set of time series data;
during a training phase, analyzing the set of time series data and building a category model for each periodic event type in heterogeneous logs; and
during live operation, applying the category model to a stream of time series data from live heterogeneous log messages and generating a flag on a time series data point violating the category model and generating an alarm report on the corresponding log message.
2. The method of claim 1, wherein the heterogeneous log messages are from unknown systems or applications.
3. The method of claim 1, comprising applying one or more management applications onto the heterogeneous log messages based on a category models output
4. The method of claim 1, comprising applying one or more management applications onto the heterogeneous log messages based on a category model checking output.
5. The method of claim 1, comprising applying log based fault management by discovering missing log messages, messages not shown up
on expected time points, or detecting abnormal log messages shown up on unexpected time points output.
6. The method of claim 1, comprising
processing a tokenization to generate semantically meaningful tokens from log messages;
after the heterogeneous logs are tokenized, a similarity measurement on heterogeneous logs is applied; and
once similarities among logs are captured, applying a log hierarchical clustering method to generate and output a log cluster hierarchy.
7. The method of claim 1, comprising aligning the log messages within each cluster on the lowest level in the log cluster hierarchy to preserve unknown layouts of heterogeneous logs and help log pattern recognition.
8. The method of claim 7, comprising conducting log motif discovery to find representative layouts and log fields.
9. The method of claim 8, comprising recognizing pattern from the motifs by recognizing time stamps, Internet Protocol (IP) addresses and universal resource locators (URLs); recognizing fields conserved in the logs and organizing the fields in a data structure in the cluster hierarchy; and back propagating information up in a hierarchy, and fusing the back- propagated information with local patterns to provide format pattern representations from the logs.
11. The method of claim 10, comprising estimating the categories by counting appearance times of unique values in the time series Y, sort unique values in an increasing order, and recording in an ordered list
where u is a number of unique values, and Λ/, is appearance time of the unique value C, in Y.
12. The method of claim 11, comprising clusterizing the estimated categories.
13. The method of claim 12, comprising generating a final category model determining a model parameter
category model
14. The method of claim 13, comprising determining
where T is an inter-arrival time of log i and a previous log matching format/, with category model
16. The method of claim 1, wherein the machine comprises a motor and a digitizer to capture movement driven by the motor.
17. A system, comprising
a mechanical actuator;
a digitizer coupled to the actuator to log data;
a module for detecting periodic event behaviors from machine generated logging, including code for:
capturing heterogeneous log messages, each log message including a time stamp and text content with one or more fields;
transforming the text content into a set of time series data;
during a training phase, analyzing the set of time series data and building a category model for each periodic event type in heterogeneous logs; and
during live operation, applying the category model to a stream of time series data from live heterogeneous log messages and generating a flag on a time series data point violating the category model and generating corresponding log messages.
18. The system of claim 17, wherein the actuator comprises a motor.
19. The system of claim 17, wherein the actuator is an engine.
20. The system of claim 17, comprising code for:
aligning the log messages within each cluster on the lowest level in the log cluster hierarchy to preserve unknown layouts of heterogeneous logs and help log pattern recognition;
conducting log motif discovery to find representative layouts and log fields; and
recognizing pattern from the motifs by recognizing time stamps, Internet Protocol (IP) addresses and universal resource locators (URLs); recognizing fields conserved in the logs and
organizing the fields in a data structure in the cluster hierarchy; and back propagating information up in a hierarchy, and fusing the back- propagated information with local patterns to provide format pattern representations from the logs.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018543264A JP2018535501A (en) | 2015-11-09 | 2016-11-02 | Periodic analysis of heterogeneous logs |
| DE112016005143.3T DE112016005143T5 (en) | 2015-11-09 | 2016-11-02 | Periodicity analysis on heterogeneous protocols |
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US201562252685P | 2015-11-09 | 2015-11-09 | |
| US62/252,685 | 2015-11-09 | ||
| US15/340,255 | 2016-11-01 | ||
| US15/340,255 US10679135B2 (en) | 2015-11-09 | 2016-11-01 | Periodicity analysis on heterogeneous logs |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017083148A1 true WO2017083148A1 (en) | 2017-05-18 |
Family
ID=58667728
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2016/060131 Ceased WO2017083148A1 (en) | 2015-11-09 | 2016-11-02 | Periodicity analysis on heterogeneous logs |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US10679135B2 (en) |
| JP (1) | JP2018535501A (en) |
| DE (1) | DE112016005143T5 (en) |
| WO (1) | WO2017083148A1 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| AU2018200016B2 (en) * | 2017-05-05 | 2019-09-12 | Servicenow, Inc. | Systems and methods for anomaly detection |
| US11397427B2 (en) | 2020-08-04 | 2022-07-26 | Arch Systems Inc. | Methods and systems for predictive analysis and/or process control |
| US11755448B2 (en) | 2018-08-03 | 2023-09-12 | Nec Corporation | Event monitoring apparatus, method and program recording medium |
Families Citing this family (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10685293B1 (en) * | 2017-01-20 | 2020-06-16 | Cybraics, Inc. | Methods and systems for analyzing cybersecurity threats |
| CN107273269B (en) * | 2017-06-12 | 2021-04-23 | 北京奇虎科技有限公司 | Log parsing method and device |
| US11120033B2 (en) * | 2018-05-16 | 2021-09-14 | Nec Corporation | Computer log retrieval based on multivariate log time series |
| WO2020026428A1 (en) * | 2018-08-03 | 2020-02-06 | Nec Corporation | Periodicity analysis apparatus, method and program recording medium |
| CN110389840B (en) * | 2019-07-25 | 2022-02-01 | 中国工商银行股份有限公司 | Load consumption early warning method and device, computer equipment and storage medium |
| CN110955709B (en) * | 2019-11-05 | 2023-03-24 | 北京字节跳动网络技术有限公司 | Data processing method and device and electronic equipment |
| CN113569879B (en) * | 2020-04-28 | 2024-03-19 | 中国移动通信集团浙江有限公司 | Training method of abnormal identification model, abnormal account identification method and related devices |
| US11741146B2 (en) * | 2020-07-13 | 2023-08-29 | Nec Corporation | Embedding multi-modal time series and text data |
| CN112738088B (en) * | 2020-12-28 | 2023-03-21 | 上海观安信息技术股份有限公司 | Behavior sequence anomaly detection method and system based on unsupervised algorithm |
| CN113485886B (en) * | 2021-06-25 | 2023-07-21 | 青岛海尔科技有限公司 | Alarm log processing method and device, storage medium and electronic device |
| CN114048870B (en) * | 2021-11-04 | 2024-11-26 | 佳源科技股份有限公司 | A power system anomaly monitoring method based on intelligent mining of log features |
| CN114138095B (en) * | 2022-01-29 | 2022-05-10 | 阿里巴巴(中国)有限公司 | Power consumption processing method and device for internet data center IDC and readable medium |
| CN115017015B (en) * | 2022-08-04 | 2023-01-03 | 北京航空航天大学 | Method and system for detecting abnormal behavior of program in edge computing environment |
| US11943123B1 (en) * | 2022-09-01 | 2024-03-26 | Conviva Inc. | Timeline framework for time-state analytics |
| CN116089289A (en) * | 2023-01-13 | 2023-05-09 | 中电信数智科技有限公司 | System detection method and device based on multi-source heterogeneous data |
| CN119728227B (en) * | 2024-12-18 | 2026-03-24 | 广东电网有限责任公司 | A method, apparatus, electronic device, and storage medium for detecting anomalies in multi-source heterogeneous alarm logs. |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070143842A1 (en) * | 2005-12-15 | 2007-06-21 | Turner Alan K | Method and system for acquisition and centralized storage of event logs from disparate systems |
| US20070300300A1 (en) * | 2006-06-27 | 2007-12-27 | Matsushita Electric Industrial Co., Ltd. | Statistical instrusion detection using log files |
| US20120221633A1 (en) * | 2003-06-23 | 2012-08-30 | Architecture Technology Corporation | Remote collection of computer forensic evidence |
| WO2014043623A1 (en) * | 2012-09-17 | 2014-03-20 | Siemens Corporation | Log-based predictive maintenance |
| US20140096146A1 (en) * | 2012-09-28 | 2014-04-03 | Hewlett-Packard Development Company, L.P. | Translating time-stamped events to performance indicators |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8112368B2 (en) * | 2008-03-10 | 2012-02-07 | The Boeing Company | Method, apparatus and computer program product for predicting a fault utilizing multi-resolution classifier fusion |
| US20150085146A1 (en) * | 2013-09-23 | 2015-03-26 | Nvidia Corporation | Method and system for storing contact information in an image using a mobile device |
| US10348581B2 (en) * | 2013-11-08 | 2019-07-09 | Rockwell Automation Technologies, Inc. | Industrial monitoring using cloud computing |
| EP3155758A4 (en) * | 2014-06-10 | 2018-04-11 | Sightline Innovation Inc. | System and method for network based application development and implementation |
| US10592093B2 (en) * | 2014-10-09 | 2020-03-17 | Splunk Inc. | Anomaly detection |
| US10474680B2 (en) * | 2014-10-09 | 2019-11-12 | Splunk Inc. | Automatic entity definitions |
-
2016
- 2016-11-01 US US15/340,255 patent/US10679135B2/en active Active
- 2016-11-02 DE DE112016005143.3T patent/DE112016005143T5/en active Pending
- 2016-11-02 WO PCT/US2016/060131 patent/WO2017083148A1/en not_active Ceased
- 2016-11-02 JP JP2018543264A patent/JP2018535501A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120221633A1 (en) * | 2003-06-23 | 2012-08-30 | Architecture Technology Corporation | Remote collection of computer forensic evidence |
| US20070143842A1 (en) * | 2005-12-15 | 2007-06-21 | Turner Alan K | Method and system for acquisition and centralized storage of event logs from disparate systems |
| US20070300300A1 (en) * | 2006-06-27 | 2007-12-27 | Matsushita Electric Industrial Co., Ltd. | Statistical instrusion detection using log files |
| WO2014043623A1 (en) * | 2012-09-17 | 2014-03-20 | Siemens Corporation | Log-based predictive maintenance |
| US20140096146A1 (en) * | 2012-09-28 | 2014-04-03 | Hewlett-Packard Development Company, L.P. | Translating time-stamped events to performance indicators |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| AU2018200016B2 (en) * | 2017-05-05 | 2019-09-12 | Servicenow, Inc. | Systems and methods for anomaly detection |
| US10917419B2 (en) | 2017-05-05 | 2021-02-09 | Servicenow, Inc. | Systems and methods for anomaly detection |
| US11755448B2 (en) | 2018-08-03 | 2023-09-12 | Nec Corporation | Event monitoring apparatus, method and program recording medium |
| US11397427B2 (en) | 2020-08-04 | 2022-07-26 | Arch Systems Inc. | Methods and systems for predictive analysis and/or process control |
| US12124254B2 (en) | 2020-08-04 | 2024-10-22 | Arch Systems Inc. | Method for predictive maintenance of a manufacturing system based on latent properties |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2018535501A (en) | 2018-11-29 |
| US10679135B2 (en) | 2020-06-09 |
| US20170132523A1 (en) | 2017-05-11 |
| DE112016005143T5 (en) | 2018-07-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10679135B2 (en) | Periodicity analysis on heterogeneous logs | |
| US11132248B2 (en) | Automated information technology system failure recommendation and mitigation | |
| CN110321371B (en) | Log data anomaly detection method, device, terminal and medium | |
| Soleimani‐Babakamali et al. | Toward a general unsupervised novelty detection framework in structural health monitoring | |
| JP6643211B2 (en) | Anomaly detection system and anomaly detection method | |
| US20170277997A1 (en) | Invariants Modeling and Detection for Heterogeneous Logs | |
| US10514974B2 (en) | Log analysis system, log analysis method and program recording medium | |
| US9792388B2 (en) | Pattern extraction apparatus and control method therefor | |
| Li et al. | An integrated framework on mining logs files for computing system management | |
| CN112491872A (en) | Abnormal network access behavior detection method and system based on equipment image | |
| CN114169604A (en) | Performance index abnormality detection method, abnormality detection device, electronic apparatus, and storage medium | |
| CN112738088B (en) | Behavior sequence anomaly detection method and system based on unsupervised algorithm | |
| Landauer et al. | Time series analysis: unsupervised anomaly detection beyond outlier detection | |
| US20180276566A1 (en) | Automated meta parameter search for invariant based anomaly detectors in log analytics | |
| EP3465509A1 (en) | Classification of log data | |
| CN115051863B (en) | Abnormal flow detection method and device, electronic equipment and readable storage medium | |
| CN118965175B (en) | Network security risk assessment method and related equipment based on large model | |
| US10296844B2 (en) | Automatic discovery of message ordering invariants in heterogeneous logs | |
| CN113282920B (en) | Log abnormality detection method, device, computer equipment and storage medium | |
| CN119621549B (en) | System abnormality positioning notification method and device, computer equipment and storage medium | |
| CN117693747A (en) | Passive inference for signal following in multivariate anomaly detection | |
| Skopik et al. | Smart Log Data Analytics | |
| CN106598822A (en) | Abnormal data detection method and device applied to capacity estimation | |
| EP4276715B1 (en) | Classification device, classification method, and classification program | |
| WO2010084344A1 (en) | Method, computer program and apparatus for analysing symbols in a computer system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16864792 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2018543264 Country of ref document: JP Ref document number: 112016005143 Country of ref document: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16864792 Country of ref document: EP Kind code of ref document: A1 |


