18.07.2013 Views

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 19: Auditing and Reporting<br />

Formatting & exporting audit data for use with external tools<br />

562<br />

To format and export <strong>Sidewinder</strong> <strong>G2</strong> audit data using cf export, follow the<br />

steps below.<br />

1 Using a command line session, log into the <strong>Sidewinder</strong> <strong>G2</strong> and type the<br />

following command to switch to the admn role:<br />

srole<br />

2 To configure the export utility, enter the following command on one line:<br />

cf export add type=file_type name=entry_name<br />

host=hostname user=username password=password<br />

targetdir=destination localfile=local_file_path<br />

where:<br />

• file_type = the type <strong>of</strong> file you want to export (sef, http, wt, squid, or<br />

gen)<br />

• entry_name = the name you want to apply to this configuration entry<br />

• hostname = the host name or IP address to which you are exporting<br />

the files<br />

• username = the user name that will be used for FTP authentication<br />

• password = the password that will be used for FTP authentication to<br />

the destination host<br />

• destination = the directory on the destination host on which you want<br />

the export files placed<br />

• local_file_path = (generic files only) the location <strong>of</strong> the generic file<br />

3 To export all files that are currently configured and ready to be exported,<br />

enter the following command:<br />

cf export ftp<br />

Tip: To export the current files and previously exported files, enter cf export all.<br />

4 [Optional] To enable a cron job to automatically determine which configured<br />

export files need to be exported, and format and export those files once<br />

every 24 hours (at 2:20 a.m. in most cases), enter the following command:<br />

cf export enable<br />

To disable the automatic cron job process, enter the following command:<br />

cf export disable<br />

The file has now been converted and exported to another system.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!