i went poking around in the sendemail.py file.
What i ended up doing was commenting out the following line....
#filename = "splunk-results.csv"
And then I added the following two lines below it......
datestamp = time.strftime('%m-%d-%y')
filename = '%s-%s.csv' % (subject, datestamp)
What this ends up doing is naming the csv file with the email subject name that you define in the saved search and it also adds the timestamp to the end of filename as well.
mynewshinnyfilename-4-18-12.csv
i went poking around in the sendemail.py file.
What i ended up doing was commenting out the following line....
#filename = "splunk-results.csv"
And then I added the following two lines below it......
datestamp = time.strftime('%m-%d-%y')
filename = '%s-%s.csv' % (subject, datestamp)
What this ends up doing is naming the csv file with the email subject name that you define in the saved search and it also adds the timestamp to the end of filename as well.
mynewshinnyfilename-4-18-12.csv
Hope splunk team would consider your answer and modify the sendemail in coming releases. very helpful.
It would be better if you could ask the question first with one post, and then post the answer to the question. After that you can accept your answer.