I am looking to display all alert.log files found by the below command:
ls -l /opt/IBM/WebSphere/AppServer/profiles/*/logs/*/*/alert.log
I was contemplating using a component template to carry out a discovery of the directory /opt/IBM/WebShere/AppServer/profiles and to recursively include */logs/*/*/alert.log files.
Once the discovery has ran I was hoping to extract the results, either by BLCLI or by another means to produce a report of all alert.log files in the specified directory grouped per target server.
Does anyone know a process around this or would it be more feasible for me to an NSH script to write to a centrally located .csv file?