Community Patterns

Community Library Entry

-1

Regular Expression
Created·2019-09-06 15:26
Flavor·PCRE (Legacy)

/
\/var\/lib\/jenkins\/jobs\/[a-z|\-]*\/builds\/(?<build_number>[0-9]*)\/log
/
gm
Open regex in editor

Description

Extracts the build number from the source field in Splunk from the file path

Submitted by anonymous