sources
Overview
Name | sources |
Type | Resource |
Id | sumologic.collectors.sources |
Fields
Name | Datatype | Description |
---|---|---|
id | integer | Source identifer. |
name | string | Source name. |
alive | boolean | Source alive. |
automaticDateParsing | boolean | Source automaticDateParsing. |
category | string | Source category. |
cutoffTimestamp | integer | Source cutoffTimestamp. |
denylist | array | Source denylist. |
encoding | string | Source encoding. |
fields | object | Source fields. |
filters | array | Source filters. |
forceTimeZone | boolean | Source forceTimeZone. |
hashAlgorithm | string | Source hashAlgorithm. |
hostName | string | Source hostName. |
messagePerRequest | boolean | Source messagePerRequest. |
multilineProcessingEnabled | boolean | Source multilineProcessingEnabled. |
pathExpression | string | Source pathExpression. |
sourceType | string | Source sourceType. |
url | string | Source url. |
useAutolineMatching | boolean | Source useAutolineMatching. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_source_by_id | SELECT | collectorId, sourceId, region | Gets information about a specified Collector and Source. |
list_sources | SELECT | collectorId, region | Gets information about all Sources for a specified Collector. |
create_source | INSERT | collectorId, region | Creates a new Source for a Collector. See Use JSON to Configure Sources for required fields for the request JSON file. |
delete_source | DELETE | collectorId, sourceId, region | Delete Source by ID |
update_source | EXEC | collectorId, sourceId, region | Update a source |