< Back

Add-GraylogSidecarConfigurationAssignment

Tue Jan 14, 2020 12:19 am

NAME Add-GraylogSidecarConfigurationAssignment



SYNOPSIS

Assign a configuration for the graylog node and collector.





SYNTAX

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

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





DESCRIPTION

Invoke a web request on the Graylog API to add the specified collector

and configuration to the node.





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



-ConfigurationId <String>



Required? true

Position? 5

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



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



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

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

'5d06ed64702a71f168f6c74f



Add the specified configuration.











RELATED LINKS