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
Legend

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

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

gcusello
Legend

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!

Ready, Set, SOAR: How Utility Apps Can Up Level Your Playbooks!

 WATCH NOW Powering your capabilities has never been so easy with ready-made Splunk® SOAR Utility Apps. Parse ...

DevSecOps: Why You Should Care and How To Get Started

 WATCH NOW In this Tech Talk we will talk about what people mean by DevSecOps and deep dive into the different ...

Introducing Ingest Actions: Filter, Mask, Route, Repeat

WATCH NOW Ingest Actions (IA) is the best new way to easily filter, mask and route your data in Splunk® ...