A log collection utility (LCU) operable in a storage area network (SAN) to
identify the various types of log files generated in the SAN, compute the
location of each of the log files, and collect the log files for
consolidation and analysis in a common repository. A designator file
enumerates log files for collection. The LCU generates a discovery script
for each host, and the hosts generate an identity of each of the log
files via execution of the discovery script. The LCU generates a
collection script operable to gather the each of the log files. The LCU
thus gathers a plurality of log files generated by dissimilar
applications and nodes in the SAN via a declarative mechanism that
specifies the types of log files via a log file designator, and generates
executable scripts that collects the log files in a manner that is
agnostic to operating systems, platforms, and directory structures.