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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...