(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

  1. Get the installer on the machine. Either by physically adding or use a software program that will push the executable to the machine

  2. 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 
  1. If you did this correctly yo should see the agents appear in the deployment server under

  2. 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)

    1. select the "server classes tab", then click the new server class button

      1. We will name the server class, in this case we will call it "Window Machines"

      2. 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

        1. Details - configuration about the class (as long as it is working keep default)

        2. Forwarders - where you will assign the endpoints to the class

        3. Application - where you assign the applications you put in the development-apps folders

        4. this is made we will come back here later

  3. Creating a application or adding one through splunkbase

    1. ...... TODO ...... need to create this

  4. Adding forwarders to the server class

    1. Going back to the server class page, you will see a button in the upper right hand side saying edit forwarders, click it

    2. 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

      1. Include - search by client name, host name, IP address, or DNS name. Examples: 185.2.3., fwdr-

      2. Filter by machine - search by type of machine linux or windows or if you have any other device types

      3. Exclude - pick all but selected devices search by client name, host name, IP address, or DNS name. Examples: 185.2.3., fwdr-

    3. 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.

      1. 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)

    4. After you are happy with what machines you will apply this to (check marks on the correct machine(s)). Click the save button.

    5. 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.

    6. check the search to see your data start flowing

Last updated