Getting Data In

Two unique sourcetypes in directory with hundreds of logs

johnansett
Communicator

Hello!  I am pulling in logs from a server, there are about 500 logs in the directory.  We want to bring in all 498 of them with a generic sourcetype and two need a specific log type.  Is it as easy as this:

 

[monitor://C:\Program Files\Logs\*]

blacklist = log1:log2

disable=false

index=logs

sourcetype=logs

 

[monitor://C:\Program Files\Logs\*]

whitelist = log1:log2

disable=false

index=logs

sourcetype=specific:logs

Labels (1)
Tags (1)
0 Karma

Hutch
Path Finder

I agree with @richgalloway .

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Yes, it's as easy as that.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...