Briefly tested using the example timeseries data from the documentation link you provided and I got the following with an inspectDepth
of 2
:
db> db.runCommand({listCollections:1.0})
{
cursor: {
id: Long("0"),
ns: 'db.$cmd.listCollections',
firstBatch: [ [Object], [Object] ]
},
ok: 1,
...
Changed inspectDepth
value to 10 and got the following output:
db> config.set('inspectDepth',10)
Setting "inspectDepth" has been changed
db> db.runCommand({listCollections:1.0})
{
cursor: {
id: Long("0"),
ns: 'db.$cmd.listCollections',
firstBatch: [
{
name: 'weather',
type: 'timeseries',
options: {
timeseries: {
timeField: 'timestamp',
metaField: 'metadata',
granularity: 'hours',
bucketMaxSpanSeconds: 2592000
}
},
info: { readOnly: false }
},
{
name: 'system.buckets.weather',
type: 'collection',
options: {
validator: {
'$jsonSchema': {
bsonType: 'object',
required: [ '_id', 'control', 'data' ],
properties: {
_id: { bsonType: 'objectId' },
control: {
bsonType: 'object',
required: [ 'version', 'min', 'max' ],
properties: {
version: { bsonType: 'number' },
min: {
bsonType: 'object',
required: [Array],
properties: [Object]
},
max: {
bsonType: 'object',
required: [Array],
properties: [Object]
},
closed: { bsonType: 'bool' }
}
},
data: { bsonType: 'object' },
meta: {}
},
additionalProperties: false
}
},
clusteredIndex: true,
timeseries: {
timeField: 'timestamp',
metaField: 'metadata',
granularity: 'hours',
bucketMaxSpanSeconds: 2592000
}
},
info: {
readOnly: false,
uuid: new UUID("eacd1dcd-6891-4679-9178-5103060e1ae1")
}
}
]
},
ok: 1
Hopefully this is what you were after or helps you out.