Copy regular expressions to a single click

Analysis of logs

In computer log management and intelligencelog analysis (or system and network log analysis) is an art and science seeking to make sense out of computer-generated records (also called log or audit trail records). The process of creating such records is called data logging.

Typical reasons why people perform log analysis are:

# RegEx

(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?:\W+)(\d{2}|\d{4})/(\d{2}|\w{3})/(\d{2}|\d{4})(?:\:|\s+)[0-9]{2}:[0-9]{2}:[0-9]{2}(?:.+?)(POST|GET|HEAD|PUT|OPTION))

  • Date and time

((\d{2}|\d{4})/(\d{2}|\w{3})/(\d{2}|\d{4})(?:\:|\s+))

  • Time

([0-9]{2}:[0-9]{2}:[0-9]{2}\s+)

  • IP

(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})

  • Query Type

(POST|GET|PUT|OPTION|HEAD)