Cmdlets for Splunk

Build 24.0.9060

Select-Splunk Cmdlet

Parameters   Output Objects  

Searches Splunk data.

Syntax

Select-Splunk [parameters]

Remarks

The Select-Splunk cmdlet allows you to use a syntax similar to SQL SELECT statements to search Splunk data.

$conn = Connect-Splunk -User 'MyUserName' -Password 'MyPassword' -URL 'MyURL'
Select-Splunk -Connection $conn -Table "DataModels" -Columns @("Name","Owner") -Where "Id='SampleDataset'"

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060