Hi ,
We have windows event logs we are routing data to two splunk indexer sites one is in california and one is in virginia , currently we are planning to use two settings , The logs which is routing in virginia needs to have ignoreolderthan implemented for 14 days but the one we are getting in california we need ignoreolderthan for 90 days. How i can do it ?
Now we are sending logs to two destination same we have outputs setup for both sites and the inpuits are now ;
[WinEventLog://Application]
disabled = false
start_from = oldest
current_only = 0
checkpointInterval = 5
index = wineventlog
renderXml=false
_TCP_ROUTING = primary_indexers_california, indexers_virginia
in this above input i want ignoreolderthan 14 days to be implemented for indexers_virginia only and the california one should remain unchanged ?
if i add that stanza in this input here it will implementing in both sites. so looking for ways to do it ?