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!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out >> As our brave ...