Getting Data In

When using the Field Extractor can you use the same name for a field? will it append or add to the original field create

Cheng2Ready
Communicator

When using the Field Extractor can you use the same name for a field? will it append or add to the original field create

Example
I am extracting from the _raw data
Found that some of the _raw data didn't match when I highlight when using regex match
I was getting the red x as the example below, that should of captured it since both logs are identical in patterns.

Cheng2Ready_1-1745958501934.png



So I extracted twice on a single field on two data sets.
will it append? And add it onto the field of data to look for?

Cheng2Ready_0-1745958387941.png

 

Labels (1)
0 Karma
1 Solution

livehybrid
SplunkTrust
SplunkTrust

Hi @Cheng2Ready 

If you apply multiple field extractions then the one with the highest precedence will be used, instead you may wish to manually modify the regular expression to cover both events. 

When extracting the fields using the field extractor wizard, on the "Select fields" step, select the "Show regular expression" text as below:

livehybrid_0-1745959610832.png

This then allows you to click "Edit regular expression" button on the right, and clicking this gives you the regex which you can override.

livehybrid_1-1745959682868.png

At this point you should define a regex that matches all the relevant events. 

If you need help creating the regex please post raw examples/samples of the events and I'd be happy to help.

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

 

 

View solution in original post

livehybrid
SplunkTrust
SplunkTrust

Hi @Cheng2Ready 

If you apply multiple field extractions then the one with the highest precedence will be used, instead you may wish to manually modify the regular expression to cover both events. 

When extracting the fields using the field extractor wizard, on the "Select fields" step, select the "Show regular expression" text as below:

livehybrid_0-1745959610832.png

This then allows you to click "Edit regular expression" button on the right, and clicking this gives you the regex which you can override.

livehybrid_1-1745959682868.png

At this point you should define a regex that matches all the relevant events. 

If you need help creating the regex please post raw examples/samples of the events and I'd be happy to help.

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

 

 

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...