問題タブ [appinsights]
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.
azure - アプリケーション インサイト トレース クエリが azure cli コマンドから機能しない
azure cli
vscode のコマンドからアプリケーション インサイト トレースを実行したいと考えています。
以下のコマンドですべての詳細を取得できました。
az monitor app-insights query --app myappinsight1 --analytics-query traces --resource-group myRG
しかし、過去 10 分間のログのみをダンプするなど、より詳細なフィルターが必要です。クエリ エディターで
使用traces | where timestamp > ago(10min)
すると問題なく動作しますが、コマンドでエラーが発生します。
これが私のクエリ
です。引用符を作成したり、記号をエスケープしたりしましたが、うまくいきませんでした。
クエリで私が何をしているのか、誰でも助けてもらえますか?Azure portal appinsights
azure cli
az monitor app-insights query --app myappinsight1 --analytics-query traces | where timestamp > ago(10min) --resource-group myRG