intdash Edge Agent 2 v1.5.x

intdash-agentctl status activate#

ストリーマー実行中に、フィルターをアクティブ状態に切り替えます。 対象のフィルターは、有効 (enabled: true) である必要があります。

アクティブにしたフィルターは、ストリーマーの処理に適用されます。

利用方法

intdash-agentctl status activate [<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 activate --upstream-filter filter1

ダウンストリーム用フィルター 'filter2' をアクティブにする:

$ intdash-agentctl status activate --downstream-filter filter2

複数のフィルターをアクティブにする:

$ intdash-agentctl status activate --upstream-filter filter1 --downstream-filter filter2

オプションを指定せずにIDだけを指定してアクティブにする(アップストリーム・ダウンストリームを自動判別):

$ intdash-agentctl status activate filter1