Splunk Enterprise

How to delete modular input?

sacumen
Explorer

Hello Everyone,

I am trying to delete my modular input and the input inside configuration tab -->Account, trying to add new account but not able to delete that getting error message like "Object id=xxx://Test cannot be deleted in config=inputs in splunk ".

Can anyone please let me know ho to delete that?

 

Thank You.

0 Karma

sloshburch
Splunk Employee
Splunk Employee

Hiya - I just ran into this in another app and I think I found root cause. It seemed like a permission thing so on a hunch I peeked at the local.meta and default.meta. The default.meta for the app had a bunch of stuff in there from the app being built. I removed all of it except the default and view stanzas, restarted, and then I was able to delete the input no problem. So I'm guessing there was some default.meta stanza made by a user not in my system that blocked my ability from deleting.

If you got the app from Splunkbase then let the author know so they can clean out that default.meta.

sacumen
Explorer

Thanks for response @richgalloway . No files are open there and I am only testing this on my machine.

0 Karma

richgalloway
SplunkTrust
SplunkTrust
Check splunkd.log for other messages that may have identify the cause.
An alternative method is to edit inputs.conf directly and restart Splunk.
---
If this reply helps you, Karma would be appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Make sure the relevant inputs.conf file is not open by a non-Splunk process, like an editor.  Also, verify no one else deleted or moved the MI.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...