Support failmode in splunk version 5.