Splunk Answers-a-thon!

How to use field extractions?

yeasuh
Splunk Employee
Splunk Employee

How to use field extractions?

Labels (2)
Tags (1)
0 Karma

diogofgm
SplunkTrust
SplunkTrust

There are multiple was to extract fields:
you can use the interactive field extration present in search 
you can using inline rex command in your search 
you can use props and transforms conf files

------------
Hope I was able to help you. If so, some karma would be appreciated.
0 Karma

RobertMarks
Observer

There is also the option to use the search -> sidebar -> extract more fields -> and use the automatic field extractor, though this is most often just a jumping-off point for your final field extractions. 

0 Karma

RobertMarks
Observer

You can write a search time field extraction under splunk -> settings -> field extractions. A field extraction will apply to a sourcetype and can be either an inline regex based extraction, or use a TRANSFORM from transforms. conf. 

You can also extract fields at indextime using transforms.conf on the indexer/HF

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!

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...