I have a text file with logs of a list of operations done on a product. The list of operations can be repeated any number of times. My goal is to find the pattern in the logs. Each operation has a set of attributes like timestamp, type of operation (read/write/restart/shutdown, etc.) and many more. For example, consider the following list of operations where each char/digit denotes on operation in time in sequential order:

a, a, b, 1, 2, 3, a, a, ....... a, a, 1, 5

In the above log, I have a repetition of two consecutive 'a' operation many times. This means operation 'a' was done many times, each time it was done 2 times. My goal is to find such a pattern. What is the best way to achieve this? I have plenty of logs to analyze.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.