Splunk Search

How to remove the fields permanently ?

kiranpanchavat1
Path Finder

Hello Guys, We have to remove some of the fields permanently. Is there any configuration file or something to remove fields from backend ? 

 

Note : We are not looking for "fields - " to remove the fields in search..

Labels (1)
Tags (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @kiranpanchavat1,

fields are extracted using regexes, so you have to search in field extraction (Settings -- Fields -- Field Extractions] the relative rule.

Remember that pairs "fieldname=fieldvalue" are automaticaly extracted so you cannot delete them.

Why do you want to delete a field extraction?

if you have anot correct one, you can create a new one or correct the exisiting one, but I don't see the necessity to delete a field extraction.

Ciao.

Giuseppe

View solution in original post

PickleRick
SplunkTrust
SplunkTrust

Can you elaborate on your use case? Unless you remove something from raw data, the user can still define his/her own extraction.

gcusello
SplunkTrust
SplunkTrust

Hi @kiranpanchavat1,

fields are extracted using regexes, so you have to search in field extraction (Settings -- Fields -- Field Extractions] the relative rule.

Remember that pairs "fieldname=fieldvalue" are automaticaly extracted so you cannot delete them.

Why do you want to delete a field extraction?

if you have anot correct one, you can create a new one or correct the exisiting one, but I don't see the necessity to delete a field extraction.

Ciao.

Giuseppe

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...