Provides access to the system log. Note that most of these methods, with the exception of setSignatures return null or fail quietly if you are not connected to the gatekeeper.
Method DetailDataList checkSignatures(DataList signatures) Check signatures for triggering event notices. The DataList should have columns regex, sample, and result
Parameters:
Returns: DataList Since: 11-21-2013 deleteLogFile(File logFile) Deletes the specified log file.
Parameters:
Since: 11-01-2013 DataList getEvents() Returns a list containing all events in the queue. Calling this method will consume the queue. Returns: DataList DataList Name: events DataList Fields: sigId, type, message, time Since: 11-01-2013 File getNextLogFile() Returns the next un-read log file. Read only one log file at a time. Returns: File Since: 11-01-2013 DataList getSignatures() Returns the signatures for triggering event notices. Returns: DataList DataList Name: signatures DataList Fields: sigId, regex, type, status, matches Since: 11-21-2013 rotateLogFile() Forces a rotation of the main syslog file. Call getNextLogFile after this to obtain the file. Since: 11-01-2013 String setSignatures(DataList signatures) Sets the signatures for triggering event notices. The signatures list should have three columns: sigId, regex, and type. Accepted values in the type column are 'error' and 'security' indicating which event to trigger.
Parameters:
Returns: String Since: 11-21-2013 String toString() Returns a description of this object. Returns: String Since: 11-01-2013 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Dec 03, 2024 10:24 AM |