Splunk Search

Automatic field extractions best practices on Splunk Cloud

ohookins
New Member

We have a number of different log types, but many of which contain similar fields. I understand the it is preferred to do extraction at search time rather than index time, and automatic field extraction either with regex or delimiters is one such option.

My goal is to extract some of these common fields so that when we are diagnosing an issue under time pressure, we have all of the commonly used fields already extracted and ready for simple search queries, rather than having to do on-the-spot regular expression searches. So far it looks like we have already quite a number of extractions enabled, although I'm not positive how or whether any of them are working.

My questions are:

  1. Are all of these extractions active and used during search time, for any that are saved as Global or App-wide sharing mode? I need to know that the extractions I define will be automatically used by everyone without needing further configuration.

  2. How can I find records that are not being correctly extracted? E.g. fieldname="" doesn't seem to work. I want to search for all records that don't have a particular field defined (because extraction failed or wasn't defined).

  3. What is the behaviour when different extractions overlap in their field names? There may be several that define the name "space" on the same record type for example.

Thanks!

0 Karma

woodcock
Esteemed Legend

Any time that you need to create ANYTHING, first create a new app to own/contain it. We almost always create a Global_KOs app, mostly for CIM and for tags that everybody will need and everything that goes in it will be Global; everything else should be App and contained in the appropriate app. If your guys need some dashboards built on the email, then create an app for it, create the field extractions that you need, build the dashboards that you need and so on.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...