Splunk Tutorials: App Deployment Server


======Deployment Server=============
Create an App "testapp" under /home/ubuntu/splunk/etc/deployment-apps
Create a dir local & under local dir

inputs.conf
-------------------
[monitor://home/ubuntu/splaunkforwarder/var/log/splunk/splunkd.log]
index=web
sourcetype=splunkdlog

outputs.conf
---------------
[tcpout]
defaultGroup = splunkindexer
disabled = false
compress = true

[tcpout:splunkindexer]
server = 172.31.4.56.9997

/home/ubuntu/splunk/etc/system/local/serverclass.conf
[global]

[serverClass:NewApps]
[serverClass:NewApps:app:test:testapp]

======Deployment Client=============
/home/ubuntu/splunk/etc/system/local/

[deployment-client]

[target-broker:deploymentServer]
targeturi=172.31.12.3:8089

CONFIGURE APP DEPLOYEMENT SERVER
=======================================================

In the forwarders machines
==================================
Do you find any file named with "deploymentclient.conf" in /opt/splunkforwarder/etc/system/local
> ./splunk set deploy-poll <IP_address/hostname>:<management_port>
# 8089
> splunk restart

OBSERRVATIONS:
Check 
/opt/splunkforwarder/etc/system/local
deploymentclient.conf

WNDOWS
targetUri = 13.126.48.167:8089



Configure deployment clients
http://docs.splunk.com/Documentation/Splunk/6.6.3/Updating/Configuredeploymentclients
https://docs.splunk.com/Documentation/Splunk/6.6.2/Admin/Deploymentclientconf


======Deployment Server=============
Create an App "testapp" under /home/ubuntu/splunk/etc/deployment-apps

Create a dir local & under local dir

inputs.conf
-------------------
[monitor://home/ubuntu/splaunkforwarder/var/log/splunk/splunkd.log]
index=web
sourcetype=splunkdlog


outputs.conf
---------------
[tcpout]
defaultGroup = splunkindexer
disabled = false
compress = true

[tcpout:splunkindexer]
server = 172.31.4.56.9997

/home/ubuntu/splunk/etc/system/local/serverclass.conf
[global]

[serverClass:NewApps]
[serverClass:NewApps:app:test:testapp]

======Deployment Client=============
/home/ubuntu/splunk/etc/system/local/

[deployment-client]

[target-broker:deploymentServer]
targeturi=172.31.12.3:8089
Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x