Splunk Search

sourcenames.csv

rcovert
Path Finder

I know there are other posts asking this same question, but I have not found any answers.

I have IIS logs coming into the web intelligence app. Our indexer is linux. The IIS logs rotate everyday, so the sourcenames.csv gets a new entry every day with a blank sourcename. I tried using a wild card to set the sourcename but that didn't work.

Is there a way to set the sourcename for each site without having to modify sourcenames.csv every day?

araitz
Splunk Employee
Splunk Employee

It seems that a few folks have been having trouble with sourcenames.csv, especially with regard to the lack of ability to wildcard. We hope to have a better solution out to you soon.

In the meantime, you could attempt to disable the "Sourcenames Lookup" saved search so that it won't get overwritten on a daily basis.

0 Karma

araitz
Splunk Employee
Splunk Employee

I'm sorry, from reading above it seems that the problem is with the "Sourcenames Lookup" saved search writing the wrong information to the lookup file. Can you provide an example of an incorrect entry and an ideal entry?

0 Karma

rcovert
Path Finder

I need it to get overwritten so it adds that day's log file. Is there any work around? We really need to be able to differentiate sites so we can set site specific permissions.

0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...