Regular Expressions 101

Sponsors

Library entries

0
java

Business Address | WI | Trademark | USA

s
Submitted by anonymous - 13 hours ago
0
java

carbon

test1
Submitted by anonymous - 15 hours ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 15 hours ago
0
pcre2

Storyblok Assets

Match paths for a.storyblok.com
Submitted by anonymous - 3 days ago
0
pcre2

Init code

Init code
Submitted by anonymous - 3 days ago
0
pcre2

semantic-release

Teste semantic release
Submitted by leonardo.mendes - 6 days ago
0
pcre2

myspace

myspace
Submitted by anonymous - 7 days ago
0
pcre2

upload paths

upload paths
Submitted by anonymous - 7 days ago

AEM - Author & Publisher - error.log - RegEx for SPLUNK fields

Vote

0

Regular Expression
pcre2

/
(?P<error_date>^[\w\/\.]+)\s+(?P<error_time>[\w\/\.\:]+)\s+\*(?P<error_level>\w+)\*\s+\[((?P<error_ip>[\d\.]+)\s+\[(?P<error_thread_id>.+)\]\s+(?P<error_request_method>\w+)\s+(?P<error_urlpath>.+)\s+(?P<error_req_protocol>.+)|(?P<error_thread>.+?))\]\s+(?P<error_message>.+[\n]?.+)
/
gm

Description

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