Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

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
Code language: JavaScript (javascript)

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:8089Code language: PHP (php)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x