Skip to main content

sources

Overview

Namesources
TypeResource
Idsumologic.collectors.sources

Fields

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

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