Hi,
I recently decided to move my k8s cluster logs from regular induces to logsdb type of datastreams.
For my induces now i use:
- dynamic mapping for all string fields to keyword (except message field, which i use for text search)
- ignore event.original field (as it is same to message field)
- default compression codec
Official docs say that logsdb save more space due to new mechanisms and so.
So i made some tests with my log-generating app. All the logs are same.
So my test results for 1kk logs:
- Regural index with dynamic mapping applied (as it works for me now): 2.52gb
- Logsdb datastream with default settings and mappings: 2.83gb
- Logsdb datastream with my dynamic mappings applied: 1.92gb
- Regural index with dynamic mapping and best_compression (as in logsdb settings) applied: 1.91gb
Now it seems to me that i don't get any andvantages in using logsdb (which actually gives less flexibility in naming for example).
So my question is: is there only difference between regular induces and logsdb in default mapping of all fields to keyword and best_compression?