- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Simon_Shelston

Splunk Employee
04-20-2010
09:20 PM
Is it possible to create a field extraction on a field that only exists after piping through multikv?
In other words, can I persist this:
index="os" sourcetype="netstat" | multikv | rex field=LocalAddress "(?<port>\d{5})$"
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Simon_Shelston

Splunk Employee
04-20-2010
11:29 PM
No, Splunk will not extract fields that are only present post multikv. This extraction will need to be based on the _raw field.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Simon_Shelston

Splunk Employee
04-20-2010
11:29 PM
No, Splunk will not extract fields that are only present post multikv. This extraction will need to be based on the _raw field.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
gkanapathy

Splunk Employee
04-21-2010
02:39 AM
okay, i just edited it and saw the tag was htmlized away. so that should work as is. just can't make it auto whatever.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
gkanapathy

Splunk Employee
04-21-2010
12:22 AM
Well, to clarify, it will do almost just as you've set up above (though you're missing a field name for the extraction), it just can't be set up as an automatic extraction.
