sou (08thse) のはてなブログ

今のところ Azure まわりの情報発信が主体です

Azure 系で参考になった記事リスト (2024/01/07)

最近の Azure 関連の記事で自分が「参考になった!」ものを抽出しました。勉強&キャッチアップのお供にどうぞ☕

www.infoq.com

jpaztech.github.io

jpaztech.github.io

jpaztech.github.io

techcommunity.microsoft.com

techcommunity.microsoft.com

techcommunity.microsoft.com

techcommunity.microsoft.com

jpaztech.github.io

qiita.com

なお、その他のブックマークはこちらを見ていただけると嬉しいです。

b.hatena.ne.jp

Azure 系で参考になった記事リスト (2023/12/24)

最近の Azure 関連の記事で自分が「参考になった!」ものを抽出しました。勉強&キャッチアップのお供にどうぞ☕

normalian.hatenablog.com

aadojo.alterbooth.com

jpaztech.github.io

qiita.com

techcommunity.microsoft.com

github.com

jpaztech.github.io

jpaztech.github.io

jpazpaas.github.io

なお、その他のブックマークはこちらを見ていただけると嬉しいです。

b.hatena.ne.jp

Azure 系で参考になった記事リスト (2023/12/17)

最近の Azure 関連の記事で自分が「参考になった!」ものを抽出しました。勉強&キャッチアップのお供にどうぞ☕

techcommunity.microsoft.com

jpazmon-integ.github.io

learn.microsoft.com

なお、その他のブックマークはこちらを見ていただけると嬉しいです。

b.hatena.ne.jp

Azure IoT Central から Azure Data Explorer へ入れ子な JSON をエクスポートする際の考慮

Azure IoT Central で PoC を実施させていただいていたのですが。その際に踏んだ事象でございます。

下記の記事などを参考にすると、デバイスからは入れ子になった JSON でデータが送られてきます。

qiita.com

送られてくる JSON のイメージは下記の通り。

{
  "applicationId":"xxxxx",
  "component":"SensorAltitude",
  "deviceId":"cl0evatmso",
  "enqueuedTime":"2023-11-30T02:42:14.515Z",
  "enrichments":{"workingSet":"hogehoge"},
  "messageProperties":{"iothub-creation-time-utc":"2023-11-30T02:42:14.442Z"},
  "messageSource":"telemetry",
  "module":null,
  "schema":"default@v1",
  "telemetry": {
    "SensorAltitude":38.88142843434689,
  },
  "templateId":"dtmi:Espressif:o88xsnugnyr"
}


そして、Azure IoT Central には Azure Data Explorer (ADX) へエクスポートする機能があるのですが…

どうしても、ADX 側へエクスポートする際に JSON入れ子になっていると、その属性を ADX 側のテーブルへマッピングしてくれない様子。

そのため、エクスポート時の書き換えルールで入れ子にならないように指定する必要がありました。

import "iotc" as iotc;
{
    schema: "default@v1",
    applicationId: .applicationId,
    deviceId: .device.id,
    templateId: .device.templateId,
    messageSource: .messageSource,
    enqueuedTime: .enqueuedTime,
    SensorMagnetX: .telemetry | iotc::find(.name == "SensorMagnetX").value,
    SensorMagnetY: .telemetry | iotc::find(.name == "SensorMagnetY").value,
    SensorMagnetZ: .telemetry | iotc::find(.name == "SensorMagnetZ").value,
    ... <送付される可能性のある属性の分、すべて記載する> ..,
    messageProperties: .messageProperties,
    enrichments: .enrichments,
    component: .component,
    module: .module
}


IoT Central では実現できない分析などを行いたいときは ADX を活用したりすると思います。
もし、同じポイントに当たった方は参考にしていただければ幸いです。

Azure 系で参考になった記事リスト (2023/12/10)

最近の Azure 関連の記事で自分が「参考になった!」ものを抽出しました。勉強&キャッチアップのお供にどうぞ☕

techcommunity.microsoft.com

techcommunity.microsoft.com

jpabrs-scem.github.io

isovalent.com

techcommunity.microsoft.com

jpaztech.github.io

なお、その他のブックマークはこちらを見ていただけると嬉しいです。

b.hatena.ne.jp

Azure 系で参考になった記事リスト (2023/12/03)

最近の Azure 関連の記事で自分が「参考になった!」ものを抽出しました。勉強&キャッチアップのお供にどうぞ☕

jpaztech.github.io

jpazinteg.github.io

jpaztech.github.io

atmarkit.itmedia.co.jp

なお、その他のブックマークはこちらを見ていただけると嬉しいです。 b.hatena.ne.jp

Azure 系で参考になった記事リスト (2023/11/26)

最近の Azure 関連の記事で自分が「参考になった!」ものを抽出しました。勉強&キャッチアップのお供にどうぞ☕

jpaztech.github.io

paulyu.dev

techcommunity.microsoft.com

techcommunity.microsoft.com

techcommunity.microsoft.com

jpazmon-integ.github.io

jpazpaas.github.io

techcommunity.microsoft.com

techcommunity.microsoft.com

なお、その他のブックマークはこちらを見ていただけると嬉しいです。

b.hatena.ne.jp