- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dark_Ichigo
Builder
05-13-2012
08:09 PM
I want to add a Field Extractor Regex in props.conf but not from _raw but from another field
Example: rex Filed=test "(<BLA>\w+\w+)
" I want to add this to props.conf but it thinks its extracting it from _raw and I want it to be extracted from test
How cant his be done?
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dshpritz

SplunkTrust
05-13-2012
08:27 PM
This can be done by using the SOURCE_KEY option in the transforms.conf. So, in props.conf
[mysourcetype]
REPORT-myextract = myextract
Then in transforms.conf:
[myextract]
SOURCE_KEY = test
REGEX = (
Dave
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dshpritz

SplunkTrust
05-13-2012
08:27 PM
This can be done by using the SOURCE_KEY option in the transforms.conf. So, in props.conf
[mysourcetype]
REPORT-myextract = myextract
Then in transforms.conf:
[myextract]
SOURCE_KEY = test
REGEX = (
Dave
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dark_Ichigo
Builder
05-13-2012
08:53 PM
Spot On! Thanks mate
