setup data-stream

parse ingress logs towards opensearch

assuming opensearch

create a data-stream

index mgmt / templates

Create template

name        logs-template
type        data streams
pattern     logs-*
prio        100
shards      3
replicas    1

create a search pattern

dashboards mgmt / index patterns

Create index pattern

logs-*

you can now proceed with fluent-bit setup

resources

https://opensearch.org/docs/2.11/api-reference/index-apis/create-index/

https://opensearch.org/docs/2.11/dashboards/im-dashboards/datastream/


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun