...
- Open the Tasks console (see Tasks), and click the New Task button.
- In the page that opens, select the Collection to Database option, and then click Continue.
The Collection to DatabaseTask page opens. - In Name, type the name of the new task.
- In Description, type a description of the new task; optional.
- In Collected Log, type the name of a log
OR
Click Select log, and in the Select Log to Collect window that opens, select a log. - In Data Filter Query, type a query to filter out events that don't satisfy the above query.
- In Environment Variables Connection Details, type the environment variables neede d for the program/script to run; optionalselect the Database account to use, or click New to define a new Database account (see Creating an Account).
- Open the Schedule tab.
- In Set Frequency, select the frequency of task execution: Never, Daily, Weekly, or Monthly, and then complete the options that appear for your selected frequency.
- Click Save.
The Collection to Database task is saved.