Splunk Search

How to edit or delete a custom field

lihong007
Engager

I have just created a field, and realized that is not what I want. I would like either delete it and create a new one, or update it. How can I do it?

thanks

Tags (1)
1 Solution

MHibbin
Influencer

How did you create you field extraction?

If you used the IFX (Interactive Field eXtractor), you can do this in...

"Manager">>"Fields">>"Field Extractions">> Choose field for modifying/deleting.

If you did this in props.conf (you can also remove those created in IFX) this way too... you can find the props.conf files containing the extractions and modify/hash/remove the extraction and restart the Splunk services. The props.conf file will be in one of the following locations...

$SPLUNK_HOME/etc/system/default/props.conf
$SPLUNK_HOME/etc/system/local/props.conf
$SPLUNK_HOME/etc/system/apps/<appName>/props.conf
$SPLUNK_HOME/etc/system/apps/<appName>/props.conf

Regards,

Matt

View solution in original post

MHibbin
Influencer

How did you create you field extraction?

If you used the IFX (Interactive Field eXtractor), you can do this in...

"Manager">>"Fields">>"Field Extractions">> Choose field for modifying/deleting.

If you did this in props.conf (you can also remove those created in IFX) this way too... you can find the props.conf files containing the extractions and modify/hash/remove the extraction and restart the Splunk services. The props.conf file will be in one of the following locations...

$SPLUNK_HOME/etc/system/default/props.conf
$SPLUNK_HOME/etc/system/local/props.conf
$SPLUNK_HOME/etc/system/apps/<appName>/props.conf
$SPLUNK_HOME/etc/system/apps/<appName>/props.conf

Regards,

Matt

lihong007
Engager

I found answer:

In Splunk Web, you navigate to the Field extractions page by selecting Manager > Fields > Field extractions.

For more information, see "Use the Field extractions page in Manager".

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...