With the latest October release, vRLI Cloud added support for REST-based Public API Support.

You can refer

What is PowervRLICloud?

PowervRLICloud is a PowerShell module that abstracts the VMware vRealize LogInsight Cloud APIs to a set of easily used PowerShell functions. This tool provides a comprehensive command-line environment for managing your VMware vRealize LogInsight Cloud environment

This module is not supported by VMware and comes with no warranties expressed or implied. Please test and validate its functionality before using this product in a production environment.

Key Features

 

 

Ease of Use

  • Built on top of PowerShell which is a widely used CLI
  • Easy to use cmdlets (21) to script common tasks
  • Easy Install as it is Published on PowerShell Gallery

Cross Platform Install

  • Support for PowerShell Core which allows it to run across macOS, Windows & Linux

Inbuilt Help

  • HTML File for UI Users
  • Command line Users can use Get-help

Open Source

  • Build for Community Source Code is GitHub
  • Anyone can Contribute

Getting Started

Pre-requisites

You need to have the following pre-requisites

  1. vRealize LogInsight Cloud API Token
  2. PowerShellVersion = ‘6.0’ and Above

Install from PowerShell Gallery

You can install directly from Powershell Gallery by executing the following command

Install-Module -Name PowervRLICloud

Quick Examples

Quick Examples of how to get started

Example-1
Connect-vRLI-Cloud -APIToken “APIToken”

Example-2
Get-AlertDefinitions | where{$_.name -match “MMTest”}

Example 3
$queryId = Post-Query-Request -SQlQuery “SELECT * FROM logs where log_type = audit ORDER BY ingest_timestamp DESC” -Duration 60
$r = Get-QueryResponse -QueryId $queryId
$r.LogQueryResults

 

 

 

Supported Commands Version 1.0

Artifacts

GitHub

https://github.com/munishpalmakhija/powershell-for-vrealize-loginsight-cloud

Documentation

https://www.munishpalmakhija.com/PowervRLICloudDocumentation.html

Powershell Gallery

https://www.powershellgallery.com/packages/PowervRLICloud

Try out vRealize Log Insight Cloud

If you’re not already using vRealize Log Insight Cloud, check out our free 30-daytrial. To learn more about how to use Log Insight Cloud, please check out

Related Articles

What’s New in vRealize Log Insight Cloud – August 2022

What’s New in vRealize Log Insight Cloud – July 2022

 


 

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *