このページには、監視対象のクラウド サービス インスタンスを制限するために構成中に定義された式のトラブルシューティングに関する情報が含まれています。「Connect AppDynamics to AWS CloudWatch Using Role Delegation」および「アクセスキークレデンシャルを使用した AWS への AppDynamics の接続」を参照してください。

一重引用符の一致

式では、一重引用符の一致はサポートされていません。たとえば、`tags(Name) = 'AutomationTest || tags(Name) = 'invalid')` は有効な式と見なされ、`'AutomationTest || tags(Name) = 'invalid'` は値と見なされます。式を保存する前に、引用符が一致していることを確認してください。

アポストロフィ

式では、値でのアポストロフィ(')の使用はサポートされていません。式 `tags(Name) = 'Automation'sTest'` では、タグ値は `'Automation'` と見なされ、値の残りは無視されます。

式の例

ExpressionDescription
(tags(name) = 'cloudcollectors' & tags(location) = 'us-west-2')無効です。式グループ内に & がありません。
(tags(name) = 'cloudcollectors' && tags(location) = 'us-west-2'無効です。括弧 () 内の式は式グループです。us-west-2 の後に閉じ括弧 ) がありません。 
(tags(name) = 'cloudcollectors' | tags(location) = 'us-west-2')無効です。式グループ内に | がありません。
(tags(name) = 'cloudcollectors' || tags(location) = 'us-west-2'無効です。括弧 () 内の式は式グループです。us-west-2 の後に閉じ括弧 ) がありません。 
(tags(name) = 'cloudcollectors'  tags(location) = 'us-west-2')無効です。式グループ内に論理演算子がありません。
tags(Name) = 'cloudcollectors' & tags(location) = 'us-west-2'無効です。式グループ内に & がありません。
tags(Name) = 'cloudcollectors' | tags(location) = 'us-west-2'無効です。式グループ内に | がありません。
tags(Name) = 'AutomationTest' || tags(Name) = 'test')有効です。末尾の ) は無視されます。

tags(Name) = 'cloudcollectors && tags(location) = 'us-west-2'

有効です。cloudcollectors の後にアポストロフィ(')がありません。タグ値は、次のアポストロフィ(')まで続きます。この例では、タグ値は 'cloudcollectors && tags(location) = ' です。
tags(Name) = 'cloudcollectors' tags(location) = 'us-west-2'有効です。cloudcollectors 以降はすべて無視されます。tags(Name) = 'cloudcollectors' という表現が効果的です。

これらのマニュアルで使用されている Amazon Web サービス、AWS ロゴ、AWS、およびその他の AWS マークは、米国およびその他の国における Amazon.com, Inc. またはその関連会社の商標です。