intdash-agentctl status inactivate#
ストリーマー実行中に、フィルターを非アクティブ状態に切り替えます。
対象のフィルターは、有効 (enabled: true) である必要があります。
非アクティブにしたフィルターは、ストリーマーの処理に適用されません。
利用方法
intdash-agentctl status inactivate [<subcommand options>] [<id>...]
フィルターのIDを <id> に指定します。複数のフィルターを同時に指定できます。
オプションを指定せずにIDだけを指定した場合、アップストリームとダウンストリームの両方から該当するIDを検索し、見つかった側のフィルターを非アクティブにします。同じIDがアップストリームとダウンストリームの両方に存在する場合は、両方を非アクティブにします。
Subcommand Options
- --upstream-filter <id>, --uf <id>
アップストリーム用フィルターを非アクティブにします。複数指定可能です。
- --downstream-filter <id>, --df <id>
ダウンストリーム用フィルターを非アクティブにします。複数指定可能です。
- --all-filter <id>, -f <id>
アップストリームまたはダウンストリームのいずれかに存在するフィルターを非アクティブにします。複数指定可能です。
- --help, -h
ヘルプを表示します。
例
アップストリーム用フィルター 'filter1' を非アクティブにする:
$ intdash-agentctl status inactivate --upstream-filter filter1
ダウンストリーム用フィルター 'filter2' を非アクティブにする:
$ intdash-agentctl status inactivate --downstream-filter filter2
複数のフィルターを非アクティブにする:
$ intdash-agentctl status inactivate --upstream-filter filter1 --downstream-filter filter2
オプションを指定せずにIDだけを指定して非アクティブにする(アップストリーム・ダウンストリームを自動判別):
$ intdash-agentctl status inactivate filter1