Skip to content

Instantly share code, notes, and snippets.

View iamabhishek-dubey's full-sized avatar
🎯
Focusing

Abhishek Dubey iamabhishek-dubey

🎯
Focusing
View GitHub Profile
@dobesv
dobesv / es-config.txt
Created July 24, 2019 23:22
Example configuration for fluentd-es namespace per index using record_modifier and elasticsearch
<filter kubernetes.**>
@type kubernetes_metadata
</filter>
# Use tag as index name prefix by default
<filter **>
@type record_modifier
<record>
_es_index ${tag_parts[0]}.${Time.at(time).strftime('%F')}
</record>