Regular Expressions 101

Sponsors

Library entries

0
pcre2

Vivaldi

Vivaldi
Submitted by anonymous - 14 hours ago
0
pcre2

TXN ID

VIL ID
Submitted by anonymous - 3 days ago
0
dotnet

BI/CC

Verificação do número de BI/CC
Submitted by anonymous - 3 days ago
0
pcre2

Slurs

Not made with ill intentions.
Submitted by anonymous - 4 days ago
0
pcre2

正则提取

ss
Submitted by sss - 5 days ago
0
pcre2

e-mail regex

Validates an email address
Submitted by anonymous - 5 days ago
0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 5 days ago
0
pcre2

id

getid
Submitted by anonymous - 5 days ago

AEM access.log - field extraction for SPLUNK

Vote

0

Regular Expression
pcre2

/
^(?<aem_access_remote_ip>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\s(?<aem_access_domain>\S+)\s(?<aem_access_user>\S+)\s(?<aem_access_date>\S[^:]+):(?<aem_access_bytes_out>\S+)\s(?<aem_access_GMT_offset>[^ ]+)\s"(?<aem_access_request_method>[^ ]+)\s(?<aem_access_request_path>[^ ]+)\s(?<aem_access_request_protocol>[^ ]+)"\s(?<aem_access_status_code>[^ ]+)\s(?<aem_access_request_duration>[^ ]+)\s"(?<aem_access_referrer>[^ ]+)"\s"(?<aem_access_user_agent>.*)"
/
gm

Description

Loading markdown...
Submitted by Robert Wunsch (wunsch@adobe.com) - 2 months ago