SyslogDataSource Class

Definition of which syslog data will be collected and how it will be collected. Only collected from Linux machines.

ivar streams: List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.

vartype streams: list[str or ~$(python-base-namespace).v2019_11_01_preview.models.KnownSyslogDataSourceStreams]

ivar facility_names: The list of facility names.

vartype facility_names: list[str or ~$(python-base-namespace).v2019_11_01_preview.models.KnownSyslogDataSourceFacilityNames]

ivar log_levels: The log levels to collect.

vartype log_levels: list[str or ~$(python-base-namespace).v2019_11_01_preview.models.KnownSyslogDataSourceLogLevels]

ivar name: A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.

vartype name: str

Inheritance
SyslogDataSource

Constructor

SyslogDataSource(*, streams: Optional[List[Union[str, azure.mgmt.monitor.v2019_11_01_preview.models._monitor_management_client_enums.KnownSyslogDataSourceStreams]]] = None, facility_names: Optional[List[Union[str, azure.mgmt.monitor.v2019_11_01_preview.models._monitor_management_client_enums.KnownSyslogDataSourceFacilityNames]]] = None, log_levels: Optional[List[Union[str, azure.mgmt.monitor.v2019_11_01_preview.models._monitor_management_client_enums.KnownSyslogDataSourceLogLevels]]] = None, name: Optional[str] = None, **kwargs)