Getting Data In

Generate test logs in Windows

thepocketwade
Path Finder

I'm trying to test some things with my Splunk Windows installs and I'd like to have reliable test data. When I test *nix logs with Splunk I tend to use 'logger' to create the messages. I've been unable to find an equivalent for Windows (preferably 7). Does something like that exist? or is there a technique to force Windows to send logs (without having to actually do the action that makes the log?)

Tags (1)
0 Karma

malmoore
Splunk Employee
Splunk Employee

Eventcreate sounds like what you might be looking for:

More on eventcreate - yes, it's the XP docs, but it 100% works in 2003.

Genti
Splunk Employee
Splunk Employee

well, you could just eat your event logs, no?
On your Manager » Data inputs , get WMI events and system logging to come in, youll see plenty of goodies for you to test on.

0 Karma

thepocketwade
Path Finder

I could, and in fact I already am. What I'm looking for is a way to generate logs with any EventCode for testing purposes. That way, I can know for certain that EventCode = 1901 was sent, and can then verify that it was indexed (or not) properly.

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...