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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...