Globus Connect Server Audit Load
Description
The globus-connect-server audit load command loads into a database the audit log files generated by globus-gridftp-server. This database can then be used by the globus-connect-server audit query or globus-connect-server audit dump commands.
Options
- -h, --help
-
Show help message and exit.
- --version
-
Show the version and exit.
- -v, --verbose
-
Show verbose output.
- -l, --log-dir PATH
-
Directory containing GridFTP audit logs to load. By default, logs from /var/log/gridftp-audit as well as the current day’s log at /var/log/gridftp-audit.log will be loaded.
- -d, --db-path PATH
-
Path where the log database will be created. If there is an existing database, it will be removed. The default is ~/.globus/audit-logs.db.
Examples
This example loads the log files from the default location into the database at the default location.
sudo globus-connect-server audit load
This example loads a copy of log files pulled from a different machine.
tar xfz gridftp-audit-logs.tar.gz globus-connect-server audit load -l ./gridftp-audit-logs
Database
While the database is designed for use with the globus-connect-server audit query and globus-connect-server audit dump commands, it is also possible to query it directly. See the database schema document for more information.