Log Summarizer
This online calculator can be used to summarize lines of text, using regular expressions to extract a unique value from each line, such as a date or session ID.
This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/7783/. Also, please do not modify any references to the original work (if any) contained in this content.
The user inputs a set of lines and specifies the pattern to be used for extraction. The calculator then counts the number of occurrences of each unique value, and presents the results in the form of a list of unique extracted values, sorted in decreasing order by the number of occurences. This tool is useful for summarizing log files, for example, as it provides a quick and efficient way to identify patterns and trends in large amounts of data.
The calculator also allows the use of regex flags, which modify the behavior of the regular expression.
The default list illustrates this. It has five "match one" strings, and two "match two" strings. The regular expression matches "one" and "two" and the calculator counts their occurrence. The result is displayed in the table, in the decreasing order.
Comments