(Windows) Agents and Deployment server
The agents are just a universal forwarder that can be setup manually or remotely for manual setup check out the splunk forwarder info on the side <<<<<
(Windows) How to setup the agent remotely and configure it
Get the installer on the machine. Either by physically adding or use a software program that will push the executable to the machine
Once the executable is on the machine you can run a power-shell script to install it and add the deployment to the machine
msiexec.exe /i <Path to excutable>/splunkforwarder.msi DEPLOYMENT_SERVER="<Deployment Server>:8089" AGREETOLICENSE=Yes /quiet If you did this correctly yo should see the agents appear in the deployment server under
Next we need to create a server class. A server class groups machines and pushes what apps the agents will be used (we will hit apps later)
select the "server classes tab", then click the new server class button
We will name the server class, in this case we will call it "Window Machines"
This will take you to another page containing a details, forwarders and application tabs this is where we will add apps and forwarders to the class
Details - configuration about the class (as long as it is working keep default)
Forwarders - where you will assign the endpoints to the class
Application - where you assign the applications you put in the development-apps folders
this is made we will come back here later
Creating a application or adding one through splunkbase
...... TODO ...... need to create this
Adding forwarders to the server class
Going back to the server class page, you will see a button in the upper right hand side saying edit forwarders, click it
when you are on the forwarders page you will see three boxes Include, filter by machine type and exclude. This is the way you will add the machines to the server class
Include - search by client name, host name, IP address, or DNS name. Examples: 185.2.3., fwdr-
Filter by machine - search by type of machine linux or windows or if you have any other device types
Exclude - pick all but selected devices search by client name, host name, IP address, or DNS name. Examples: 185.2.3., fwdr-
We will search by include for now and by device name we have devices named "Windows" and "Linux" for example. We will type in "Windows" and hit the preview button, there should be a check mark next to the Windows machine and not next to the Linux machine. This means we will apply the server class to only the Windows machine.
Note — if you are adding server classes to new machines and you already have machines with the server class. You have to select the old machines with the new ones or you will remove the server class from the old and only apply it to the machines selected. (have not found a way around this and annoying when you have a lot of machines)
After you are happy with what machines you will apply this to (check marks on the correct machine(s)). Click the save button.
It will take you back to the server class page under the forwarders tab and you should now see your devices with a pending hourglass. Setting the server class will take up to five mins to see the effects. Refreshing the you should see the hourglass change to a check mark and that means the server class with the apps have been added to the forwarder.
check the search to see your data start flowing
Last updated