Splunk Search

I would like to reuse the same field extraction name for multiple sourcetypes.

vikram_m
Path Finder

I would like to reuse the same field extraction name for multiple sourcetypes.

this will help us create one alertfor all the kind of sourceytpes and avoid existing descripancies.

Thanks.
Vikram.

0 Karma

micahkemp
Champion

There is nothing stopping you from creating extractions in different sourcetypes (or the same sourcetype, for that matter) that use the same field name.

The only limitation in this regard I can think of is you can't define more than one named capture group in a regex with the same name (but it doesn't sound like that's what you're trying).

0 Karma

mayurr98
Super Champion

perhaps why do not you try pointing multiple sourcetypes to one props.conf
have a look at this link
https://answers.splunk.com/answers/225433/is-it-possible-to-have-multiple-sourcetypes-point.html

0 Karma

niketn
Legend

@vikram_m, I think your are looking for Field Aliasing to normalize data from different sourcetypes. You should also read about Common Information Model (CIM)

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...