Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.37k stars 1.06k forks source link

How can I customize the Index codecs in the Index Setting of Graylog datanode? #20557

Open macaty opened 3 weeks ago

macaty commented 3 weeks ago

OpenSearch already supports zstd Index codecs. How can I set the corresponding setting in Graylog datanode?

https://opensearch.org/docs/latest/install-and-configure/configuring-opensearch/index-settings/

macaty commented 3 weeks ago

Can we post the setting via http://127.0.0.1:9000/api/system/indexer/indices/templates/66f4d189828e122f3602b271/update?

drewmiranda-gl commented 3 weeks ago

You can interact directly with OpenSearch by using Data Node to generate an auth certificate and then authenticating with that cert. See https://go2docs.graylog.org/current/downloading_and_installing_graylog/install_graylog_data_node.htm?Highlight=data%20node#CreateClientCertificateforThirdPartyTools

macaty commented 2 weeks ago

Thank you very much, I have created the access key and can query the index template. how can i setting index template? image When I finish the index setting: "codec" : "best_compression", image When rotating Nginx indices after clicking the 'Rotate active write index' button, the settings revert to default instead of retaining the custom settings. image