The Datasource datatype includes various settings.

Table: Datasource

ParameterTypeRequired[a]DefaultDescription
namestringyes The name of the datasource.
oldestTimestampdatetimeyes The oldest time stamp in the datasource.
newestTimestampdatetimeyes The most recent time stamp in the datasource.
tags[Tag]yes Any tags associated with the datasource (see Tag Table).
sizeAtIngestfloatyes The size in Gigabytes of the data from this data source before compression.
sizeOnDiskfloatyes This size in Gigabytes of the data from this data source currently on disk.
sizeAtIngestOfMergedfloatyes The size in Gigabytes of the data from this data source before compression, but only for the parts that are now part of a merged segment file.
sizeOnDiskOfMergedstringyes This gigabytes of the data from the data source on disk, but only the parts of a merged segment file.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.