Getting Data In

windows - universal forwarder - localhost

gmoors
Engager

I'm trying to let Splunk Enterprise log some creation of a user on the same system as where Splunk is installed.

My Splunk-version is 9.3.1. Alongside with this install, I've installed the latest Universal Forwarder (win) (on localhost 127.0.0.1).
When installing:
- I skip the SSL page
- click "Next"
- select "Local System"
- click "Next"
- check all items under "Windows Log Events"
- click "Next"
- generate an admin account and password
- leave the "Deployment Server"-settings empty
- enter "127.0.0.1:9997" as Host and port for "Receiving Indexer"
- finish the installer

Then I create a user (net user /add <user>) in CMD.
After this step I return to Splunk Search and enter * as search criteria but nothing is found. Even when I enter the username (I added) the software finds nothing.

Can someone tell me what I'm doing wrong or what the issue can be?
Thanks!

Gerd

Labels (3)
0 Karma
1 Solution

PickleRick
SplunkTrust
SplunkTrust

Universal Forwarder is a lighweight component you typically install on remote machines to - as the name suggests - forward the data to your "main part" of Splunk installation. But if you already have full Splunk instance installed you don't need a UF (there are some border cases when such setup can be useful but makes the whole environment overly complicated).

So if you're just starting with Splunk, it's enough to add local windows event log inputs on the Splunk server.

View solution in original post

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Universal Forwarder is a lighweight component you typically install on remote machines to - as the name suggests - forward the data to your "main part" of Splunk installation. But if you already have full Splunk instance installed you don't need a UF (there are some border cases when such setup can be useful but makes the whole environment overly complicated).

So if you're just starting with Splunk, it's enough to add local windows event log inputs on the Splunk server.

0 Karma

gmoors
Engager

Thanks for the clear info!

0 Karma

PickleRick
SplunkTrust
SplunkTrust

First and foremost - why are you installing a UF when you already have a full Splunk instance? Just add input(s) there.

0 Karma

gmoors
Engager

Ooh - that isn't necessary?
Sorry, I'm new to Splunk.

I was watching some tutorial on Udemy regarding Splunk and was following the guy who did the demo.
After installing Splunk Enterprise, he started talking about the "universal forwarder" and how to install it. I thought it was part of the whole...

So it wasn't required?

 

0 Karma

gmoors
Engager

Never mind...

I've stopped the universal forwarder-software, waited some second and restarted the forwarder.
After this restart I performed a search (*)  and it immediately gave me some results.

I then created a user in the PowerShell, and let Splunk search for the username, resulting in some lines regarding the user.

So... eventually it works as it should...

 

With kind regards
Gerd

0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...