Getting Data In

How to configure multiple host names in a single inputs.conf file, and push this to all servers in a server class via deployment server?

sujith_usha_kum
Explorer

Hi All,

We have a deployment server configured in our server.
We want to push a single inputs.conf file to all the servers in the server class.

Please help me on how to use host= in the inputs.conf file, where we have multiple servers under one server class.

thanks

0 Karma

ddrillic
Ultra Champion

Keep in mind please that the hosts are specified in etc/system/local/serverclass.conf.

How many apps do you have under etc/deployment-apps?

0 Karma

sujith_usha_kum
Explorer

Thanks.

etc/system/local/serverclass.conf is to white and blacklist the servers under each serverclass is it?
But my requirement is to use one input.conf file for a set of servers under the server class.
So do i need to specify the "host=" keyword to mention the client names?
If yes, how to specify multiple client name under "host="

I have 10 apps under etc/deployment-apps

0 Karma

ddrillic
Ultra Champion

I see, quite often we simply don't specify the host in inputs.conf and Splunk will determine what it is based on the machine's info. It's pretty good and we have been using it in this way for a couple of years. One issue we are running into is the fact that some hosts define their name using a full domain name and some don't. But if you don't have this issue, you might rely on Splunk for that...

0 Karma

sujith_usha_kum
Explorer

Thanks ddrillic. I will try not using host in inputs.conf

0 Karma
Get Updates on the Splunk Community!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...