問題タブ [fluent-bit-rewrite-tag]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
filter - fluent-bit で rewrite_tag を上書きする方法
私のシナリオでは、fluent-bit (バージョン 1.6.1 ) フィルターを使用して、特定のログ パターンを識別し、それにタグを付けます ( from.solr.out )。
次に、レコードを変更して、以下のようなフィールドを追加します
ここで、変更されたレコードに新しいタグ ( format.logging ) を付ける必要がありますが、以下のコード スニペットで試してみましたが、機能しません。
そのアプローチの何が問題なのですか?
このタスクを達成するためのより良いアプローチ/フィルターはありますか?