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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...