Follow

Using the processlogs Utility

Located in the Angelfish installation directory, the processlogs utility can be used to start log processing jobs via the command line.  Usage syntax can be viewed with the --help option:

processlogs --help

 

Here is a summary of the flags available to the processlogs utility:

--profileid     The profile ID to process.  Required if specifying a logsource and no profile name.

 

This allows you to process a single profile, and performs the same function as selecting Run Now for a single profile in the web interface.  

You can also process multiple profiles by providing a list of profile id's, e.g. --profileid 1 5 25 42. The profile ID can be found in the Summary tab of the profile config.

 

--profilename     The profile name to process.  Required if specifying a logsource and no profile ID.
  • This is similar to using the --profileid flag but with the name of the profile instead of the ID.  You can also process multiple profiles by providing a list of profile names, e.g. --profilename "randomsite.com" "othersite.net" "externalsite.org"
--account     The account to use for the profile (if not default).
  • This determines which account to associate with this profile log processing.  It will show up in that accounts Task History.
--logsource     The full path and filename of a log file to process. (optional)
  • The full path to the location of a log file you wish to process.  If the profile to be processed already has an assigned datasource, the datasource path will be used by default.
--start     Start of the date range to process.  Invalidates the --logsource option.  Required if the --end option is given.
  • When you need to only process a specific date range use the start and end options.  Accepts a date format of YYYYMMDD.
--end     End of the date range to process.  Invalidates the --logsource option.  Required if the --start option is given.
  • When you need to only process a specific date range use the start and end options.  Accepts a date format of YYYYMMDD.
--nologtracking     Disable log tracking.
  • Turns off log tracking for this job.  The same as clicking "Temporarily disable log tracking for this job only" in the application.  This will not allow Angelfish to skip log files it notices have already been processed.  Use this if you haven't deleted the date range of data before re-processing.
--delete     Delete the log source after processing.
  • Use with caution.  This will attempt to delete the log file after processing has been completed.
--help     Display this help file and exit.
  • Displays this list of flags.
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.