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
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!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...