Splunk Enterprise

How do I delete a TCP data source with a malformed IP address as the restricted host?

the4ndy
New Member

My first data source I wanted to catch all syslog from my servers on tcp port 514
i also decided to restrict the input accepted to my local subnet via the IP 10.0.13.0/24
as a result, when i go to remove the data source i get the following error.

Error occurred attempting to remove 10.0.13.0/24:514: In handler 'raw': Malformed IP address: 10.0.13.0/24:514.

is there a way to resolve this without re-installing the whole server?

EDIT: More clarification of "remove data source"

From the left hand sidebar menu, choose Data > Data Inputs
Then on the page that comes up, choose TCP
then it will show the TCP data inputs in a list and give the option on the right hand side to Clone or Delete
the delete option here fails and gives the error provided above

I apologize if I did not use proper names for the objects in Splunk, I am new to the software. Thanks.

Tags (1)
0 Karma

woodcock
Esteemed Legend

First of all, open a support case with splunk so that they will fix this bug. Go to the CLI on the Forwarder and find the inputs.conf file that has this entry. Delete the entire stanza (but copy all of the text so that you can include in your support case). Save the file, restart the splunk instance and it will be gone.

0 Karma

woodcock
Esteemed Legend

What do you mean by "remove the data source"? Give full description of what you are doing.

0 Karma

the4ndy
New Member

From the left hand sidebar menu, choose Data > Data Inputs
Then on the page that comes up, choose TCP
then it will show the TCP data inputs in a list and give the option on the right hand side to Clone or Delete
the delete option here fails and gives the error provided above

I apologize if I did not use proper names for the objects in Splunk, I am new to the software. Thanks.

0 Karma
Get Updates on the Splunk Community!

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...