I have what is like a Newbee question, I hope it makes sense how I explain it.
I noticed that logs are not being ingested by my 1 node cluster and logstash complains about the maximum normal shards open - can you help me identify what I am doing wrong please.
The output I have configured for logstash is directing the logs to this index
index => "vmware_esxi-%{+YYYY.MM.dd}"
and I can see in kibana that the indices are being created and kept open
what I've setup in terms of indexes is this:
index template with Index pattern "vmware_esxi-*"
{
"index": {
"lifecycle": {
"name": "pci_1y"
},
"number_of_shards": "1",
"number_of_replicas": "1"
}
}
the index for yesterday is about 25.71gb and "GET /vmware_esxi-2024.03.05" is
{
"vmware_esxi-2024.03.05": {
"aliases": {},
"mappings": {
"properties": {
...
}
},
"settings": {
"index": {
"routing": {
"allocation": {
"include": {
"_tier_preference": "data_content"
}
}
},
"number_of_shards": "1",
"provided_name": "vmware_esxi-2024.03.05",
"creation_date": "1709596800288",
"number_of_replicas": "1",
"uuid": "d1J6jTidS2Sp-FsycSKTCw",
"version": {
"created": "8060299"
}
}
}
}
}
the ilm policy is this (obtained via "GET _ilm/policy/pci_1y") - if it says "indices": does that mean this is not applying to any indices?
{
"pci_1y": {
"policy": {
"phases": {
"warm": {
"min_age": "30d",
"actions": {
"set_priority": {
"priority": 50
}
}
},
"cold": {
"min_age": "90d",
"actions": {
"set_priority": {
"priority": 0
}
}
},
"hot": {
"min_age": "0ms",
"actions": {
"set_priority": {
"priority": 100
},
"rollover": {
"max_primary_shard_size": "50gb",
"max_age": "30d"
}
}
},
"delete": {
"min_age": "365d",
"actions": {
"delete": {
"delete_searchable_snapshot": true
}
}
}
}
},
"in_use_by": {
"indices": [],
"data_streams": [],
"composable_templates": [
"vmware_esxi"
]
}
}
}