< Back

Get-GraylogSidecarConfigurationAssignment

Tue Jan 14, 2020 12:19 am

NAME Get-GraylogSidecarConfigurationAssignment



SYNOPSIS

Get the assigned configuration for the graylog node and collector.





SYNTAX

Get-GraylogSidecarConfigurationAssignment [-Uri] <String> [-Credential] <PSCredential> [-NodeId] <String>

[-CollectorId] <String> [<CommonParameters>]





DESCRIPTION

Invoke a web request on the Graylog API to get the currently assigned

configuration for the specified node an collector.





PARAMETERS

-Uri <String>



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Credential <PSCredential>



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-NodeId <String>



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-CollectorId <String>



Required? true

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.String





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-GraylogSidecarConfigurationAssignment -Uri 'https://graylog.contoso.com/api' -Credential $cred -NodeId

'99b5a37c-a277-444e-b8fd-c261c18ac5bd' -CollectorId '5d06f16771c02a78f6ed644f'



Get the assigned configuration.











RELATED LINKS