查詢字串分組

上次更新: 2022-10-05
  • 建立對象:
  • User
    Admin
重要

深入了解Data Workbench 終止公告.

查詢字串分組可讓您將大量欄位整合在一起。

查詢字串分組是每個設定檔專屬的,但在轉換中運作良好,如以下範例所示:

  1. 通過添加自定義配置檔案( E:…\Dataset\Log Processing\SC Fields.cfg),然後添加轉換類型 BuildNameValuePair 作為參數。

    2 = BuildNameValuePair:
          Comments = Comment: 0 items
          Condition = AndCondition: 0 items
          Delimiter = string:
          Input Columns = vector: 1 items
            0 = Column:
              Column Name = string: e100
              Field Name = string: x-cust100
              ...
      (all the fields you wish to build)
              Name = string: Custom Events
              Output = string: x-event-list
    
  2. 建立新檔案,借由新增自訂設定檔案( E:…\Dataset\Transformation\SC Fields Transformation.cfg),然後添加轉換類型 ExtractNameValuePairs 作為參數。

    2 = ExtractNameValuePairs:
          Comments = Comment: 0 items
          Condition = AndCondition: 0 items
          Delimiter = string:
          Input Field = string: x-event-list
          Name = string: Custom Events
          Output Columns = vector: 1 items
            0 = Column:
              Column Name = string: e100
              Field Name = string: x-cust100
              ...
      (all the fields you wish to extract)
              Name = string: Custom Events
              Output = string: x-event-list
    

其他用途

如果您有許多欄位具有自訂evar、prop和變數,則在記錄處理期間,您可以建立名稱值組來結合報表中的欄位。 例如,您可以將命名值配對建置到結合的欄位中,以減少 tempDB 檔案大小。

此頁面上的