Splunk Search

Why does creating a new field sometimes require restarting Splunk services?

sgoodman26
Explorer

We are having an issue when creating a New Field by using RegEx instead of the Field Extractor. The field itself may not show up at all without restarting Splunk Services. We've made sure that the top of the fields display, and that all fields are selected. We've even made sure of the same thing when selecting fields. We have confirmed that the field itself is searchable in Settings>Field Extractions and is listed as Global or App, and not Private.

This is a intermittent issue, and does not happen each time we create a new field. When it does this happen? Sometimes waiting 10-15 minutes solves the issue. Usually after the hour mark, we will restart Splunk Services and the field will appear within 5 minutes.

0 Karma

woodcock
Esteemed Legend

I can't say why this delay happens, but hitting the _bump endpoint usually works and hitting the refresh endpiont always works:

http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/CustomizationOptions#Clear_client_and...

0 Karma

iamarkaprabha
Contributor

I think it's because of architecture issue.
I agree with Daljeanis , it was waiting for the new knowledge object to be propagated across the search head cluster.

DalJeanis
Legend

Are your search heads clustered? If so, then you are just waiting for the new knowledge object to be propagated across the search head cluster.

Making the field "selected" should have no effect on whether it is extracted. We did a quick test to verify, by finding an arbitrary record in verbose mode, changing an arbitrary field to "selected", then switching back to fast mode and the pield disappeared.

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...