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!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...