< Back

Get-GraylogSidecarConfigFile

Tue Jan 14, 2020 12:19 am

NAME Get-GraylogSidecarConfigFile



SYNOPSIS

Get the current sidecar configuration.





SYNTAX

Get-GraylogSidecarConfigFile [<CommonParameters>]





DESCRIPTION

Read the configuration file sidecar.yml and parse the relevant values

ServerUrl, ServerApiToken and NodeName. It will return a custom object

with the three properties.





PARAMETERS

<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-GraylogSidecarConfigFile



Get the current sidecar configuration.











RELATED LINKS