Logtest outputs to stderr, so you'll have to redirect it with that in mind.
ossec-logtest -a > file 2>&1 should save it to file.


-----Original Message-----
From: Kai Renz
Sent:  01/26/2011 8:35:21 AM
Subject:  Re: [ossec-list] Generating Cisco ASA Reports

Maybe i just found the solution:
cat /tmp/log | /tmp/ossec-hids-2.5.1/bin/ossec-logtest -a |
/tmp/ossec-hids-2.5.1/bin/ossec-reportd

Is there a way to safe this in a file? tee doesn't seem to work.

regards

Reply via email to