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!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...