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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...