Getting Data In

First Time Users Configuration Questions Regarding Forwarding

wdc
New Member

I've found how to get data from a remote users Security Log but we are after a centralised area to keep these logs. I then set the Splunk server to become a receiver and then a test server as a light forwarder. How do I know that it is working? Presumably this data is then stored on the Splunk server somewhere? Is this the best way to get my centralised data?

Tags (1)
0 Karma

Genti
Splunk Employee
Splunk Employee

Did you set the light forwarder to monitor anything on the "forwarding machine"? Did you set the light forwarder to send data to the indexer on some specific port? Did you set up the indexer to listen to the above port?

If so, then just logging in to you indexer should be enough to tell you that you are receiving data..

Assuming you are on unix, a cool command to tell you if you are listening on the indexer is netstat -an | grep 9997 where 9997 is the specific port where you are telling the indexer to listen.

0 Karma

Genti
Splunk Employee
Splunk Employee

eek, Mick beat me to it..

0 Karma

Mick
Splunk Employee
Splunk Employee

You'll know its working if you can search on your 'receiving' server and see data that came from your 'forwarding' server. The data should be getting indexed on the receiver, by default it will write to C:\Program Files\Splunk\var\lib\splunk\defaultdb, and in the search summary interface you should see your forwarding server listed on the list of 'Hosts' on the right-hand side.

Yes, this is the recommended solution for getting your logs into a centralized location. There are other ways to implement this, but to keep it straightforward to start with, use a Splunk instance configured as a forwarder.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...