Getting Data In

Impossible re-add hosts

tylerwebmail
New Member

Hi to all and sorry for my English. I'll try to be detailed to explain the problem.
I can no longer see some hosts on the Home of Splunk after using the command "host = name_of_host | delete" and have reinstalled Splunk on hosts (changing the name of the host in inputs.conf).
There are no errors in the logs and I have tried several times to reinstall but I can not add them again. If I do the installation on other hosts never added in Splunk server (where I never run the command "host = name_of_host | delete"), they are immediately added to the Home of Splunk.
How do I add them again?
Thanks

Tags (2)
0 Karma

tylerwebmail
New Member

Hi R.Turk and thanks for your reply.
Unfortunately now I know the behavior of the command. Is there a way to instruct Splunk to re-add hosts?

0 Karma

rturk
Builder

Hi Tylerwebmail - The behaviour you are describing is expected. By running the command:

host-name_of_host | delete

You have instructed Splunk to not report previously indexed data in Splunk from that host.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

Data Management Digest – May 2026

Welcome to the May 2026 edition of Data Management Digest!   As your trusted partner in data innovation, the ...