When you start using vRealize Log Insight Cloud and you do not have any logs to analyze, you can upload log files from your local system to the default partition. You can also upload log files to examine logs from various third-party sources.

After uploading the log files, you can query the logs in the Explore Logs page, create dashboards, define alerts, and so on.

Procedure

  1. Click the two arrows icon in the upper-left corner of the screen to expand the main menu.
  2. Navigate to Log Management > Log Upload.
  3. Click Upload Logs.
  4. In the Upload Log Files dialog box, upload log files by browsing your local system or from the command line.
    • To upload log files by browsing your local system, do the following:
      1. Click Browse Log Files.
      2. Select up to 10 files of 10 MB each from your system and click Open.
        Note: The supported file formats are .log and .txt.

        The log files are listed in the dialog box.

      3. Optionally, you can remove the log files that you do not want to upload.
      4. Click Upload.
    • To upload log files from the command line, do the following:
      1. Click Copy cURL Command.

        The cURL command appears.

      2. Click the copy icon against the cURL command to copy the command.
      3. Open your Command Prompt window and paste the command in the window.
      4. In the command, replace <<FILE-PATH>> with the location of the log files.
      5. Run the command.

Results

The uploaded log files appear in the Log Upload page, along with the upload status, log volume, and so on. You can click the refresh icon to view the latest upload status. As soon as you upload a log file, its upload status is Uploaded. When vRealize Log Insight Cloud starts ingesting logs from the file, its upload status is Ingesting. When ingestion is finished, the upload status is Success, and you can start analyzing the logs.

What to do next

To query the uploaded logs, click the three dots icon against the corresponding log file and click Open in Explore Logs.