Command Line Execution

A search can be executed from the command line using the following syntax

http://$MANAGER:8080/print/?name=$SEARCH&from=$START_DATE&$TO=END_DATE&fromat=$FORMAT_TYPE&clientId=XYZ
  • $MANAGER,$PORT - The hostname and port of the Dashboard.
  • $NAME - The name of the search or the dashboard
  • $FROM,$TO - The date format follows that used in the example below
    e.g "2011-10-10T14:48:00"
  • $FORMAT - The output can be a CSV,PNG or a PDF. The CSV format can only be used with searches.
  • $USER - The user for the search request. The datagroups assigned to this user will be applied when the search request is executed
  • $clientID - A unique identifier which will appear in the logscape system logs to identify the request made

Here's an example that gets 3 days worth of data from the Demo search as a csv file

http://localhost:8080/print/?name=Home&from=2013-07-09T08:00:00&to=2013-07-12T08:00:00&format=csvs&user=sysadmin&clientId=TEST