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
Super Champion

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
Super Champion

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

 

 

Get Updates on the Splunk Community!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...