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!

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...