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!

Infographic provides the TL;DR for the 2024 Splunk Career Impact Report

We’ve been buzzing with excitement about the recent validation of Splunk Education! The 2024 Splunk Career ...

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...