Splunk Search

Sharing Field extractions

tb5821
Communicator

I can't for the life of me get one of the search app field extractions to also pick up the same regex (field extraction) on another sourcetype - I've made sure all the permissions are set to global for the extraction, and restarted splunk.

Can anyone offer any help?

0 Karma

skoelpin
SplunkTrust
SplunkTrust

Field extractions are relative to sourcetype. You can duplicate the extraction to the new sourcetype and it will work

0 Karma

tb5821
Communicator

There doesn't appear to be an easy way at least within splunk web to clone extractions?

0 Karma

skoelpin
SplunkTrust
SplunkTrust

Go to Settings>Fields and find your field. Copy the regular expression, then create new. You should then paste this regex and tie it to your new sourcetype

0 Karma

skoelpin
SplunkTrust
SplunkTrust

Did this work for you?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...