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!

Enterprise Security Content Update (ESCU) | New Releases

In September, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...