Splunk > Getting started.
Author: Aleksandr Chirkov
Aug. 19, 2014, 12:37 p.m.

 

Download needed package from official site and install it:

rpm -i --prefix=/opt/splunk splunk-6.1.3-220630-linux-2.6-x86_64.rpm

Add splunk executable to path:

# export SPLUNK_HOME=/opt/splunk/splunk
# export PATH=$SPLUNK_HOME/bin:$PATH

Start Splunk:

$SPLUNK_HOME/bin/splunk start

Acknowledge with licenses issue and after a couple of seconds installation will be finished.

Point your browser to http://localhost:8000 for Splunk web access. 

 

Follow to machine which logs you want to collect and install splunk-forwarder there:

rpm -i --prefix=/opt/splunk-forwarder splunkforwarder-6.1.3-220630-linux-2.6-x86_64.rpm

Add forwarder to PATH:

export SPLUNK_HOME=/opt/splunk-forwarder/splunkforwarder
export PATH=$SPLUNK_HOME/bin:$PATH

Add init scripts for auto boot:

splunk enable boot-start

Start forwarder:

splunk start

Configure the Splunk Index Server to receive data:

splunk enable listen 9997

Add index server to listen server list on forwarder:

splunk add forward-server index_fqdn:9997      # where index_fqdn is the fully qualified address or IP of the index server

Perform next command for associate forwarder with needed log file:

splunk add monitor /var/log/messages -index main -sourcetype syslog

It will create /opt/splunk-forwarder/splunkforwarder/etc/apps/search/local/inputs.conf file:

[monitor:///var/log/messages]
disabled = false
index = main
sourcetype = syslog

Let's add data to index server. In other words, we should say index server that we want collect logs from our forwarder:

splunk add udp 9997 -sourcetype _json

After that you can follow web UI => search and obtain your messages:

That's it for now).

 

logging
splunk
Viagra El Precio Viagra Canada Shipping Cialis Professional Dosage [url=http://costofcial.com]online pharmacy[/url] Canada Pharmacy Online Review Amoxicillin And Yellow Tablets Viagra Tschechien Rezeptfrei Generic Worldwide Progesterone Without Perscription Medicine cialis Petcam Cialis En Pharmacie Prix Viagra Vasodilatador Sandoz Amoxicillin Msds http://costofcial.com - cialis price Sky Pharmacy Online Drugstore Review Viagra Chepa Online Prix Du Medicament Kamagra
cheap ed meds online ed medicines generic for erectile dysfunction ed medications best ed medication what are the best generic ed drugs online erectile dysfunction medications ed medications compared cheap ed medication ed medications online ed drugs online best erectile dysfunction medication in canada ed drugs meds for ed erectile dysfunction medications sold in canada erectile dysfunction drugs generic ed drugs cheap erectile dysfunction drugs-canada canadian erectile dysfunction drugs ED medication order erectile dysfunction medication generic drugs for erectile dysfunction erectile meds ed drug cost comparison buy erectile dysfunction drugs generic ed medication erectile dysfunction medication prices ed meds on line cheap ed drugs best erectile dysfunction drugs for sale online erectile dysfunction drugs online meds for erectile dysfunction generic ed meds erectile dysfunction drugs canada ed drug best ed drug best deal on ED meds cheap ed meds medication from canada ed erectile dysfunction generic name for ED drugs buy erectile dysfunction drugs online cheap erectile dysfunction medication generic erectile dysfunction medications erectile dysfunction drugs comparison impotence drugs online common drugs for ed generic impotence drugs ed meds cost effective ed drugs canadian erectile dysfunction drugs rosa implex pvt ltd tadalafil generic vs cialis Buy Amoxicillin 500mg no prescription buy lexapro 5mg in singapore buy genuine pfizer viagra sildenafil citrate for sell canadian pharmacies women's viagra samples cialis without a doctors prescription
kamagra kopen afhalen amsterdam [url=http://kamagrabst.com/]kamagra shop deutschland erfahrung[/url] kamagra cost kamagra oral jelly review kamagra oral jelly india http://kamagrabst.com/ kamagra bestellen amsterdam
cialis 20 mg dosage generic cialis online cialis generico preço curitiba [url=http://justinpro.com/#]cialis generic[/url] walmart cialis prices generic cialis online cialis or viagra reviews [url=http://airvietnamairline.com/#]generic cialis online[/url] cialis or viagra or levitra
where to buy viagra nhs [url=http://viagrabs.com/]generic viagra online[/url] can viagra give you a headache generic viagra real alternative to viagra
price comparison viagra vs cialis buy generic viagra much does generic viagra cost at walmart pharmacy selling [url=http://amsboatyard.com/#]buy generic viagra[/url] kamagra oral jelly vs viagra buy generic viagra online can you buy generic viagra in canada [url=http://viagrapillq.com/#]buy viagra[/url] existe viagra feminino no brasil
cialis 5mg price in saudi arabia buy cialis online cialis dosage 10 vs 5 mg [url=http://justinpro.com/#]generic cialis[/url] cialis medicine side effects buy cialis side effects of prolonged use of cialis [url=http://airvietnamairline.com/#]buy cialis[/url] cialis extra dosage 200 mg
preço do viagra 50mg generico viagra generic compare price of viagra cialis and levitra [url=http://blessingsofbirth.com/#]viagra[/url] taking viagra for best results viagra generic price of cialis vs viagra [url=http://timmonssoftware.com/#]buy generic viagra online[/url] viagra natural para mujeres recetas
viagra vs cialis vs levitra cost cialis cialis maintenance dosage bph [url=http://justinpro.com/#]buy generic cialis online[/url] compare cialis and viagra side effects cialis generic cialis 5 mg cost walmart [url=http://airvietnamairline.com/#]cialis generic[/url] cialis generic sold in usa

Leave a comment:

Name
Python
Web development
Review Linux
Administration
Provisioning CVS
Windows AWS
Continuous Integration
NoSql Logging Web Servers FileSystems Scala
accurev ansible apach2 apache api application approaches architecture archivation argparse arguments artifactory automation awk aws backup bash batch-scripting beaver block build built-in caching call captcha cartridge case certificates cgi chain client cloud cloudformation cluster cmd coding collections command-line commands compression conditionals conversion convert cookbook copy counter cron crud css cut cygwin daemon datatype date dd debpackage decorator delattr deploy deque dict distributed-file-systems django DNS domain driver dropbox dump elasticcache elasticsearch encryption exit ext4 extra-tags failover file filename filters for form format freetds functions gerrit getattribute gid git globals glusterfs hardware hook iam indexing inheritance init install job-interview jquery ldap linux list locals logging logs logstash lookup magicmethods mail main-menu metadata metalogger mongodb moosefs mount mssql multiplatform multithreading mysql netcat nginx nosql open-ssh openldap openshift os packaging parse partition path pattern patterns permissions pid pil pip pipe playbook pool post post-commit processes production provisioning proxy putty python python-mysql recursively redirection redis register replication repr restore return review rotation scala script search selenium server setattr settings setup shipper signals singleton slots snapshot socket splunk ssh ssh-key ssl storage str string style subprocess sugar super switch syntactic syntaxhighlighter systeminfo tail tar templatetags time tls tune2fs tuple ubuntu unicode unique unix unixodbc usage usecases uuid uwsgi variable vars version vi virtualenv volume web web-server windows with_items __getattr__