Data Stream Backing Index Naming

Hi,

I am using data stream to index my log records. In documentation, it is said that the backing index is named using the following convention:

.ds-[data-stream]-[yyyy.MM.dd]-[generation]

but in my case, time segment does not appear.

I simply create an index template with index pattern : "my-data*", and my data stream name is also "my-data-stream". So I expect that my backing indices will be named like ".ds-my-data-stream-2022.03.16-000001" but I got ".ds-my-data-stream-000001". In youtube and other sources, that has happened in the same way but want the time segment as it is explained in documentation. Can you help me?

My mapping is like :

{
"_routing": {
"required": false
},
"dynamic": false,
"_source": {
"excludes": ,
"includes": ,
"enabled": true
},
"properties": {
"@timestamp": {
"type": "date"
},
"log_message": {
"type": "text"
}
}
}

for testing purpose.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.