I want to be able to have a automate export of the csv file that will have the data of what alerts have been triggered.
Alternative to this:
How would I get the same csv file with a search string results on a scheduled basis.
TIA !
Have look at following posts to see 3 different ways of getting list of triggered alerts. Choose any one and then you can configure the CSV export for that search.
https://answers.splunk.com/answers/212264/how-to-export-a-list-of-triggered-alerts-to-csv-ba.html
https://answers.splunk.com/answers/106515/add-recently-triggered-alerts-to-my-dashboard.html
https://answers.splunk.com/answers/517/how-to-search-recent-alerts-fired-by-splunk.html