Skip to main content

sources

Overview

Namesources
TypeResource
Idsumologic.collectors.sources

Fields

NameDatatypeDescription
idintegerSource identifer.
namestringSource name.
multilineProcessingEnabledbooleanSource multilineProcessingEnabled.
messagePerRequestbooleanSource messagePerRequest.
automaticDateParsingbooleanSource automaticDateParsing.
fieldsobjectSource fields.
pathExpressionstringSource pathExpression.
hostNamestringSource hostName.
cutoffTimestampintegerSource cutoffTimestamp.
denylistarraySource denylist.
forceTimeZonebooleanSource forceTimeZone.
encodingstringSource encoding.
sourceTypestringSource sourceType.
urlstringSource url.
useAutolineMatchingbooleanSource useAutolineMatching.
filtersarraySource filters.
alivebooleanSource alive.
categorystringSource category.
hashAlgorithmstringSource hashAlgorithm.

Methods

NameAccessible byRequired ParamsDescription
get_source_by_idSELECTcollectorId, sourceId, regionGets information about a specified Collector and Source.
list_sourcesSELECTcollectorId, regionGets information about all Sources for a specified Collector.
create_sourceINSERTcollectorId, regionCreates a new Source for a Collector. See Use JSON to Configure Sources for required fields for the request JSON file.
delete_sourceDELETEcollectorId, sourceId, regionDelete Source by ID
update_sourceEXECcollectorId, sourceId, regionUpdate a source