Azure 時間序列深入解析 Gen1 ExplorerAzure Time Series Insights Gen1 Explorer

警告

這是 Gen1 文章。This is a Gen1 article.

本文說明 Azure 時間序列深入解析 Gen1 Explorer web 應用程式的功能和選項。This article describes the features and options for the Azure Time Series Insights Gen1 Explorer web app. Azure 時間序列深入解析 Explorer 會示範服務提供的強大資料視覺效果功能,並可在您自己的環境中存取。The Azure Time Series Insights Explorer demonstrates the powerful data visualization capabilities provided by the service and can be accessed within your own environment.

Azure 時間序列深入解析是完全受控的分析、儲存體及視覺效果服務,讓您可輕易同時探索及分析數十億筆的 IoT 事件。Azure Time Series Insights is a fully managed analytics, storage, and visualization service that makes it simple to explore and analyze billions of IoT events simultaneously. 它可為您提供資料的全域檢視,從而讓您快速驗證 IoT 解決方案,並避免關鍵任務裝置成本高昂的停機時間。It gives you a global view of your data, which lets you quickly validate your IoT solution and avoid costly downtime to mission-critical devices. 您可以幾近即時地探索隱藏趨勢、找出異常狀況,並進行根本原因分析。You can discover hidden trends, spot anomalies, and conduct root-cause analyses in near real time.

提示

如需示範環境的導覽,請閱讀 Azure 時間序列深入解析快速入門For a guided tour through the demonstration environment, read the Azure Time Series Insights quickstart.

影片Video

瞭解如何使用 Azure 時間序列深入解析 Explorer 來查詢資料。Learn about querying data by using the Azure Time Series Insights Explorer.

必要條件Prerequisites

在您可以使用 Azure 時間序列深入解析 Explorer 之前,您必須:Before you can use Azure Time Series Insights Explorer, you must:

探索及查詢資料Explore and query data

在將事件來源連線到 Azure 時間序列深入解析環境的幾分鐘內,您就可以探索和查詢您的時間序列資料。Within minutes of connecting your event source to your Azure Time Series Insights environment, you can explore and query your time series data.

  1. 若要開始,請在網頁瀏覽器中開啟 Azure 時間序列深入解析 ExplorerTo start, open the Azure Time Series Insights Explorer in your web browser. 在視窗的左側,選取環境。On the left side of the window, select an environment. 您可以存取的所有環境都會依字母順序列出。All environments that you have access to are listed in alphabetical order.

  2. 選取環境之後,請使用頂端的 [ 開始 ] 和 [ ] 設定,或選取並拖曳您想要的時間範圍。After you select an environment, either use the From and To configurations at the top, or select and drag over the timespan you want. 選取右上角的放大鏡,或以滑鼠右鍵按一下選取的 timespan,然後選取 [ 搜尋]。Select the magnifying glass in the upper-right corner, or right-click on the selected timespan and select Search.

  3. 您也可以選取 [ 自動開啟 ] 按鈕,每分鐘自動重新整理可用性。You also can refresh availability automatically every minute by selecting the Auto On button. [ 自動開啟 ] 按鈕只適用于可用性圖表,而非主要視覺效果的內容。The Auto On button only applies to the availability chart, not the content of the main visualization.

  4. Azure 雲端圖示會帶您前往 Azure 入口網站中的環境。The Azure cloud icon takes you to your environment in the Azure portal.

    Azure 時間序列深入解析環境選取Azure Time Series Insights environment selection

  5. 接下來,會顯示在所選時間範圍內顯示所有事件計數的圖表。Next, a chart that shows a count of all events during the selected timespan is displayed. 這裡您有許多控制項:Here you have a number of controls:

    • 字詞編輯器面板:字詞空間是您用來查詢環境的位置。Terms Editor panel: The term space is where you query your environment. 它位於畫面左邊:It's found on the left side of the screen:
      • MEASURE:這個下拉式清單會顯示所有數值資料行 (雙精度) 。MEASURE: This drop-down list shows all numeric columns (Doubles).

      • 分割依據:這個下拉式清單會顯示) (字串 的類別資料行。SPLIT BY: This drop-down list shows categorical columns (Strings).

      • 您可以啟用步驟插補、顯示最小值和最大值,以及從 [ 量值] 旁的控制台調整 y 軸。You can enable step interpolation, show minimum and maximum, and adjust the y-axis from the control panel next to MEASURE. 您也可以調整所顯示的資料是否為數據的計數、平均或總和。You also can adjust whether data shown is a count, average, or sum of the data.

      • 您最多可以加入五個詞彙,以在相同的 X 軸上查看。You can add up to five terms to view on the same x-axis. 選取 [ 新增 ] 以新增新的字詞,或使用 [ 複製此詞彙 ] 按鈕來加入現有字詞的複本。Select Add to add a fresh term or use the Clone this term button to add a copy of an existing term.

        詞彙選取、篩選和查詢面板Terms selection, filtering, and query panel

      • 詞:使用 述詞來快速篩選您的事件,方法是使用下表所列的一組運算元。Predicate: Use the predicate to quickly filter your events by using the set of operands listed in the following table. 如果您選取或按一下來進行搜尋,述詞會根據該搜尋自動進行更新。If you conduct a search by selecting or clicking, the predicate automatically updates based on that search. 支援的運算元類型包括:Supported operand types include:

        作業Operation 支援的類型Supported types 備註Notes
        <, >, <=, >=<, >, <=, >= DoubleDateTimeTimeSpanDouble, DateTime, TimeSpan
        =, !=, <>=, !=, <> StringBoolDoubleDateTimeTimeSpanNullString, Bool, Double, DateTime, TimeSpan, NULL
        ININ StringBoolDoubleDateTimeTimeSpanNullString, Bool, Double, DateTime, TimeSpan, NULL 所有的運算元都應該是相同類型或為 Null 常數。All operands should be of the same type or be NULL constant.
        HASHAS StringString 右邊只允許常數位串常值。Only constant string literals are allowed at the right side. 不允許空字串和 NullEmpty string and NULL aren't allowed.
      • 查詢範例Example queries

        範例 Gen1 查詢Example Gen1 queries

  6. 您可以使用 [ 間隔大小 ] 滑杆工具來放大和縮小相同 timespan 的間隔。You can use the Interval Size slider tool to zoom in and out of intervals over the same timespan. 滑杆可讓您更精確地控制多個時間配量之間的移動,將配量顯示為小到毫秒的平滑趨勢,讓您能夠顯示及分析資料的細微、高解析度的剪下。The slider provides more precise control of movement between large slices of time that show smooth trends down to slices as small as the millisecond, which allow you to display and analyze granular, high-resolution cuts of your data. 滑杆的預設起始點會設定為您的選取專案中最理想的資料檢視,以平衡解析度、查詢速度和資料細微性。The slider's default starting point is set as the most optimal view of the data from your selection to balance resolution, query speed, and granularity.

  7. 時間筆刷 工具可讓您輕鬆地從一個時間範圍流覽至另一個 timespan。The Time brush tool makes it easy to navigate from one timespan to another.

  8. 選取 [ 儲存 ] 圖示以儲存目前的查詢,並與其他環境使用者共用。Select the Save icon to save your current query and share it with other users of the environment. 當您選取 [ 開啟 ] 圖示時,可以在您可以存取的環境中,檢查所有已儲存的查詢和其他使用者的任何共用查詢。When you select the Open icon, you can review all of your saved queries and any shared queries of other users in environments you have access to.

    查詢Queries

顯現資料Visualize data

  1. 使用「 透視圖視圖 」工具可同時查看最多四個唯一的查詢。Use the Perspective View tool for a simultaneous view of up to four unique queries. [ 透視圖視圖 ] 按鈕位於圖表的右上角。The Perspective View button is in the upper-right corner of the chart.

    選取要加入至 [透視圖] 窗格的查詢Select queries to add to the perspective pane

  2. 查看圖表以視覺化方式流覽您的資料,並使用 圖表 工具:View a chart to visually explore your data, and use the Chart tools:

    • 選取按一下 特定的 timespan 或單一資料數列。Select or click a specific timespan or a single data series.
    • 在時間範圍選取範圍內,您可以縮放或探索事件。Within a timespan selection, you can zoom or explore events.
    • 在資料序列內,您可以由另一個資料行分割序列、將序列新增為新的字詞、只顯示選取的序列、排除選取的序列、釘選該序列或從選取的序列探索事件。Within a data series, you can split the series by another column, add the series as a new term, show only the selected series, exclude the selected series, ping that series, or explore events from the selected series.
    • 在圖表左側的篩選區域中,您可以查看所有顯示的資料序列,然後依值或名稱重新排序。In the filter area to the left of the chart, you can review all displayed data series and reorder by value or name. 您也可以查看所有資料數列或任何已釘選或取消固定的數列。You also can view all data series or any pinned or unpinned series. 您可以選取單一資料數列,然後依另一個資料行分割序列、將數列新增為新的字詞、只顯示選取的序列、排除選取的序列、釘選該數列,或從選取的數列探索事件。You can select a single data series and split the series by another column, add the series as a new term, show only the selected series, exclude the selected series, pin that series, or explore events from the selected series.
    • 當您同時查看多個字詞時,可以堆疊、取消堆疊、查看有關資料數列的其他資料,並在所有詞彙中使用相同的 y 軸。When you view multiple terms simultaneously, you can stack, unstack, review additional data about a data series, and use the same y-axis across all terms. 使用圖表右上角的按鈕。Use the buttons in the upper-right corner of the chart.

    圖表工具右上角選項設定Chart tool upper right corner option settings

  3. 使用 熱度圖 快速找出指定查詢中的唯一或異常資料數列。Use the heatmap to quickly spot unique or anomalous data series in a given query. 只有一個搜尋字詞可視覺化為熱度圖。Only one search term can be visualized as a heatmap.

    時間序列深入解析瀏覽器熱度圖圖表] (媒體/時間序列-insights-explorer/tsi-ga-example-heatmap-charting.png#lightbox) Time Series Insights explorer heatmap charting](media/time-series-insights-explorer/tsi-ga-example-heatmap-charting.png#lightbox)

  4. 當您選取或以滑鼠右鍵按一下來探索事件時,[ 事件 ] 面板就會成為可用。When you explore events by selecting or right-clicking, the EVENTS panel is made available. 您可以在這裡查看所有原始事件,並將事件匯出為 JSON 或 CSV 檔案。Here, you can review all of your raw events and export your events as JSON or CSV files. Azure 時間序列深入解析儲存所有原始資料。Azure Time Series Insights stores all raw data.

    事件Events

  5. 探索事件之後,請選取 [ 統計 資料] 索引標籤,以公開模式和資料行統計資料。Select the STATS tab after you explore events to expose patterns and column stats.

    • 模式:這項功能會主動呈現所選資料區域中最統計的重大模式。Patterns: This feature proactively surfaces the most statistically significant patterns in a selected data region. 您不需要查看數以千計的事件,就能瞭解哪些模式需要最多時間和能源。You don't have to look at thousands of events to understand what patterns require the most time and energy. 有了 Azure 時間序列深入解析,您可以直接跳到這些統計的重大模式,以繼續進行分析。With Azure Time Series Insights, you can jump directly into these statistically significant patterns to continue conducting an analysis. 這項功能對於事後調查歷史資料也很有幫助。This feature is also helpful for post-mortem investigations into historical data.

    • 資料 行統計 資料:資料行統計資料會提供圖表及資料表,將所選資料數列之每個資料行的資料細分為選取的 timespan。Column Stats: Column stats provide charts and tables that break down data from each column of the selected data series over the selected timespan.

      統計資料行圖表和選項STATS column charting and options

現在您已瞭解 Azure 時間序列深入解析 explorer web 應用程式中可用的主要功能、設定設定和顯示選項。Now you've learned about the key features, configuration settings, and display options that are available in the Azure Time Series Insights explorer web app.

下一步Next steps