Please help us in providing a method to find failed jobs for the past 6 months or more.
Release : 11.3.6
Component : CA Workload Automation AE (AutoSys)
You can use "grep" for Linux and Unix or "findstr" for Windows to search the failed jobs in the “event_demon*” logs under $AUTOUSER/out folder.
Example of event_demon logs location for Unix and Linux:
$ cd $AUTOUSER/out
$ ls –l event_demon*
-rw-r--r--. 1 autosys autosys 545536 Jun 24 10:46 event_demon.PRD
-rw-r--r--. 1 autosys autosys 1230218 Jun 17 00:00 event_demon.PRD.06162020
-rw-r--r--. 1 autosys autosys 1212882 Jun 18 00:00 event_demon.PRD.06172020
-rw-r--r--. 1 autosys autosys 1212027 Jun 19 00:00 event_demon.PRD.06182020
Example event_demon logs location for Windows:
C:\> cd %AUTOUSER%\out
C:\> dir event_demon*
05/26/2020 12:00 AM 355,710 event_demon.PRD.05252020
05/27/2020 12:00 AM 355,659 event_demon.PRD.05262020
05/28/2020 12:00 AM 355,811 event_demon.PRD.05272020
05/29/2020 12:00 AM 355,654 event_demon.PRD.05282020
You can configure the "event_demon" logs to be kept for the required period of time by using the “LOGROLLOVER” parameter.
This parameter can be set in the config.$AUTOSERV file under $AUTOUSER directory.
The default value for “LOGROLLOVER” parameter is MIDNIGHT,PURGE(7) in the latest releases of AutoSys.
In case you do not specify a value for the PURGE(x) parameter or you set this value to PURGE(0), the log files are not purged.
You can consult the following documentation page for more information about the “LOGROLLOVER” parameter: