@thinkingai/ae-cli 1.0.30 → 6.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. package/dist/{auth-U25QJU5D.js → auth-DYC2BGLM.js} +2 -3
  2. package/dist/{auth-H3GJD55A.js → auth-GHBMJ5ZR.js} +33 -17
  3. package/dist/{chunk-CLJF7MQA.js → chunk-2DUEAXV3.js} +1 -1
  4. package/dist/{chunk-SF3KTPIC.js → chunk-5OC7CYCG.js} +2 -2
  5. package/dist/{chunk-SRJIAOBN.js → chunk-6W4QOZAL.js} +10 -0
  6. package/dist/{chunk-I42JGQ2J.js → chunk-BJX3GXWC.js} +3 -5
  7. package/dist/{chunk-GLNZSDKO.js → chunk-DMMEPCST.js} +4 -6
  8. package/dist/{chunk-VJFUB3H3.js → chunk-I5CRVM2S.js} +3 -3
  9. package/dist/{chunk-GSJGPNKK.js → chunk-PN3OS34E.js} +1 -1
  10. package/dist/{chunk-JM34JPCO.js → chunk-RSHMZ3LG.js} +178 -4
  11. package/dist/{client-IN42F223.js → client-2UJ63MVQ.js} +3 -4
  12. package/dist/{config-64G36TJL.js → config-NCUGK6NS.js} +3 -3
  13. package/dist/index.js +2526 -28
  14. package/dist/{model-VZCYNIOG.js → model-SJSOZTRS.js} +2 -2
  15. package/dist/{raw-WJIWC6YP.js → raw-7NVWSVJP.js} +5 -7
  16. package/dist/{sync-NVASAISS.js → sync-GRVO4K3U.js} +3 -3
  17. package/dist/{te-agent-YV4DXEXK.js → te-agent-KZRIEN4N.js} +468 -46
  18. package/dist/{te-analysis-CB3DA5I5.js → te-analysis-VAR4KUOK.js} +144 -29
  19. package/dist/{te-audience-W7SCQFC7.js → te-audience-KMKYI2YJ.js} +22 -15
  20. package/dist/{te-common-FBXVWBSI.js → te-common-WNCZB7R7.js} +4 -5
  21. package/dist/{te-community-LNVDZSGW.js → te-community-JEEFXPB3.js} +10 -11
  22. package/dist/{te-dataops-IPCSSWYH.js → te-dataops-GD3XBYCS.js} +11 -12
  23. package/dist/{te-engage-KARARMIR.js → te-engage-4XHCTS6I.js} +4 -5
  24. package/dist/{te-kb-2Z2CARN3.js → te-kb-B62KFP2A.js} +96 -8
  25. package/dist/{te-meta-PDKLMWXN.js → te-meta-EPZGQN56.js} +9 -10
  26. package/dist/{te-team-SW5B7DHO.js → te-team-YY24VORI.js} +6 -7
  27. package/dist/tracking/i18n/resources/cli/en.json +153 -0
  28. package/dist/tracking/i18n/resources/cli/ja.json +153 -0
  29. package/dist/tracking/i18n/resources/cli/ko.json +153 -0
  30. package/dist/tracking/i18n/resources/cli/zh.json +153 -0
  31. package/package.json +9 -3
  32. package/skills/ae-agent/SKILL.md +65 -25
  33. package/skills/ae-analysis/SKILL.md +108 -8
  34. package/skills/ae-analysis/references/cancel_query.md +39 -0
  35. package/skills/ae-analysis/references/drilldown_user_events.md +4 -2
  36. package/skills/ae-analysis/references/drilldown_users.md +4 -2
  37. package/skills/ae-analysis/references/get_bi_panel_detail.md +35 -0
  38. package/skills/ae-analysis/references/list_alerts.md +1 -1
  39. package/skills/ae-analysis/references/list_bi_panels.md +35 -0
  40. package/skills/ae-analysis/references/list_cluster_members.md +4 -1
  41. package/skills/ae-analysis/references/list_dashboards.md +1 -1
  42. package/skills/ae-analysis/references/list_entities.md +1 -1
  43. package/skills/ae-analysis/references/list_events.md +1 -1
  44. package/skills/ae-analysis/references/list_metrics.md +1 -1
  45. package/skills/ae-analysis/references/list_project_mark_times.md +1 -1
  46. package/skills/ae-analysis/references/list_properties.md +1 -1
  47. package/skills/ae-analysis/references/list_public_access_links.md +1 -1
  48. package/skills/ae-analysis/references/list_reports.md +1 -1
  49. package/skills/ae-analysis/references/list_tag_members.md +4 -1
  50. package/skills/ae-analysis/references/query_adhoc.md +6 -5
  51. package/skills/ae-analysis/references/query_bi_panel_data.md +58 -0
  52. package/skills/ae-analysis/references/query_dashboard_report_data.md +4 -1
  53. package/skills/ae-analysis/references/query_entity_details.md +5 -2
  54. package/skills/ae-analysis/references/query_event_details.md +4 -1
  55. package/skills/ae-analysis/references/query_report_data.md +2 -2
  56. package/skills/ae-analysis-global/SKILL.md +3 -1
  57. package/skills/ae-analysis-intent/SKILL.md +132 -0
  58. package/skills/ae-data-integration-helper/SKILL.md +242 -0
  59. package/skills/ae-data-integration-helper/references/android_sdk_faq.md +179 -0
  60. package/skills/ae-data-integration-helper/references/c_sdk_compilation.md +83 -0
  61. package/skills/ae-data-integration-helper/references/c_sdk_faq.md +416 -0
  62. package/skills/ae-data-integration-helper/references/cocoscreator_sdk_faq.md +123 -0
  63. package/skills/ae-data-integration-helper/references/cpp_server_sdk_faq.md +365 -0
  64. package/skills/ae-data-integration-helper/references/index.md +56 -0
  65. package/skills/ae-data-integration-helper/references/ios_sdk_faq.md +118 -0
  66. package/skills/ae-data-integration-helper/references/java_sdk_faq.md +406 -0
  67. package/skills/ae-data-integration-helper/references/javascript_sdk_faq.md +129 -0
  68. package/skills/ae-data-integration-helper/references/logbus2_guide.md +309 -0
  69. package/skills/ae-data-integration-helper/references/logbus2_parser_plugin.md +348 -0
  70. package/skills/ae-data-integration-helper/references/minigame_sdk_faq.md +115 -0
  71. package/skills/ae-data-integration-helper/references/miniprogram_sdk_faq.md +118 -0
  72. package/skills/ae-data-integration-helper/references/python_sdk_faq.md +232 -0
  73. package/skills/ae-data-integration-helper/references/restful_api_notes.md +74 -0
  74. package/skills/ae-data-integration-helper/references/sdk_log_guide.md +316 -0
  75. package/skills/ae-data-integration-helper/references/sdk_usage_notes.md +107 -0
  76. package/skills/ae-data-integration-helper/references/unity_sdk_faq.md +115 -0
  77. package/skills/ae-generate-tracking-code/SKILL.md +629 -0
  78. package/skills/ae-generate-tracking-code/references/autotrack-enum.md +183 -0
  79. package/skills/ae-generate-tracking-code/references/client-sdk-insert.md +202 -0
  80. package/skills/ae-generate-tracking-code/references/datax-config.md +43 -0
  81. package/skills/ae-generate-tracking-code/references/debug-script.md +102 -0
  82. package/skills/ae-generate-tracking-code/references/logbus-config.md +200 -0
  83. package/skills/ae-generate-tracking-code/references/modes.md +83 -0
  84. package/skills/ae-generate-tracking-code/references/restful-call.md +36 -0
  85. package/skills/ae-generate-tracking-code/references/sdk-index.md +128 -0
  86. package/skills/ae-generate-tracking-code/references/server-sdk-insert.md +206 -0
  87. package/skills/ae-generate-tracking-code/references/snippet-delivery.md +394 -0
  88. package/skills/ae-generate-tracking-code/references/te-api.md +181 -0
  89. package/skills/ae-generate-tracking-plan/SKILL.md +1083 -0
  90. package/skills/ae-generate-tracking-plan/references/autotrack-events.md +273 -0
  91. package/skills/ae-generate-tracking-plan/references/business-dimension-mapping.md +425 -0
  92. package/skills/ae-generate-tracking-plan/references/te-api.md +100 -0
  93. package/skills/ae-generate-tracking-plan/references/xlsx-schema.md +152 -0
  94. package/skills/ae-kb/SKILL.md +38 -5
  95. package/tracking-plan-template/MMO/346/211/213/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +104 -0
  96. package/tracking-plan-template/MMO/346/211/213/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
  97. package/tracking-plan-template/MMO/351/241/265/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v2.md +117 -0
  98. package/tracking-plan-template/MMO/351/241/265/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v2.xlsx +0 -0
  99. package/tracking-plan-template/RPG/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +72 -0
  100. package/tracking-plan-template/RPG/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
  101. package/tracking-plan-template/SLG/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +86 -0
  102. package/tracking-plan-template/SLG/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
  103. package/tracking-plan-template/Slots/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +80 -0
  104. package/tracking-plan-template/Slots/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
  105. package/tracking-plan-template/TE /345/237/213/347/202/271/347/244/272/344/276/213/346/250/241/346/235/277.md" +40 -0
  106. package/tracking-plan-template/TE /345/237/213/347/202/271/347/244/272/344/276/213/346/250/241/346/235/277.xlsx +0 -0
  107. package/tracking-plan-template/TE/345/256/230/346/226/271/346/250/241/346/235/277_dataTrackSample.md +40 -0
  108. package/tracking-plan-template/TE/345/256/230/346/226/271/346/250/241/346/235/277_dataTrackSample.xlsx +0 -0
  109. package/tracking-plan-template//344/274/221/351/227/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v2.md +92 -0
  110. package/tracking-plan-template//344/274/221/351/227/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v2.xlsx +0 -0
  111. package/tracking-plan-template//345/215/241/347/211/214/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +119 -0
  112. package/tracking-plan-template//345/215/241/347/211/214/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
  113. package/tracking-plan-template//345/241/224/351/230/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_V1.md +130 -0
  114. package/tracking-plan-template//345/241/224/351/230/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_V1.xlsx +0 -0
  115. package/tracking-plan-template//345/276/256/344/277/241/345/260/217/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +52 -0
  116. package/tracking-plan-template//345/276/256/344/277/241/345/260/217/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
  117. package/tracking-plan-template//346/215/225/351/261/274/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +68 -0
  118. package/tracking-plan-template//346/215/225/351/261/274/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
  119. package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/215/241/347/211/214/346/270/270/346/210/217_/345/237/213/347/202/271/346/250/241/347/211/210v1.md +108 -0
  120. package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/215/241/347/211/214/346/270/270/346/210/217_/345/237/213/347/202/271/346/250/241/347/211/210v1.xlsx +0 -0
  121. package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +119 -0
  122. package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
  123. package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/346/226/227/345/234/260/344/270/273/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +63 -0
  124. package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/346/226/227/345/234/260/344/270/273/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
  125. package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/351/272/273/345/260/206/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v2.md +101 -0
  126. package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/351/272/273/345/260/206/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v2.xlsx +0 -0
  127. package/tracking-plan-template//347/224/265/345/225/206/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.md +84 -0
  128. package/tracking-plan-template//347/224/265/345/225/206/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.xlsx +0 -0
  129. package/tracking-plan-template//347/237/255/345/211/247/344/272/247/345/223/201/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.md +79 -0
  130. package/tracking-plan-template//347/237/255/345/211/247/344/272/247/345/223/201/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.xlsx +0 -0
  131. package/tracking-plan-template//347/244/276/344/272/244/350/201/212/345/244/251/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +105 -0
  132. package/tracking-plan-template//347/244/276/344/272/244/350/201/212/345/244/251/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
  133. package/tracking-plan-template//351/230/205/350/257/273/347/261/273APP/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +83 -0
  134. package/tracking-plan-template//351/230/205/350/257/273/347/261/273APP/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
  135. package/wiki/te-docs/index.md +225 -0
  136. package/wiki/te-docs/raw/advanced-data-type/first-event-check.md +66 -0
  137. package/wiki/te-docs/raw/advanced-data-type/updated-event.md +87 -0
  138. package/wiki/te-docs/raw/advanced-data-type.md +16 -0
  139. package/wiki/te-docs/raw/data-ingestion-guide/about-gdpr.md +55 -0
  140. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/automatic-event-tracking.md +431 -0
  141. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/debugging-and-logging.md +49 -0
  142. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/multi-instance.md +66 -0
  143. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/preset-properties.md +466 -0
  144. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/third-party-integration.md +127 -0
  145. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced.md +513 -0
  146. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/compliance.md +24 -0
  147. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/release-notes.md +177 -0
  148. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android.md +228 -0
  149. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c/c-advanced.md +419 -0
  150. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c/release-notes.md +45 -0
  151. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c.md +110 -0
  152. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/client-side-sdk-faq.md +52 -0
  153. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp/cpp-advanced.md +366 -0
  154. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp/release-notes.md +103 -0
  155. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp.md +201 -0
  156. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/compliance.md +26 -0
  157. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/automatically-track-events.md +117 -0
  158. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/debugging-and-logging.md +47 -0
  159. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/preset-properties.md +52 -0
  160. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced.md +267 -0
  161. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/release-notes.md +82 -0
  162. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter.md +139 -0
  163. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/compliance.md +26 -0
  164. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/automatically-track-events.md +121 -0
  165. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/debugging-and-logging.md +54 -0
  166. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/preset-properties.md +18 -0
  167. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced.md +305 -0
  168. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/release-notes.md +79 -0
  169. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native.md +137 -0
  170. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/release-notes.md +24 -0
  171. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/automatically-track-events.md +54 -0
  172. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/debugging-and-logging.md +53 -0
  173. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/multi-instance.md +42 -0
  174. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/preset-properties.md +119 -0
  175. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/support-native.md +81 -0
  176. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced.md +331 -0
  177. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app.md +156 -0
  178. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform.md +12 -0
  179. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/automatic-event-tracking.md +29 -0
  180. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/debugging-and-logging.md +47 -0
  181. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/multi-instance.md +21 -0
  182. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/preset-properties.md +249 -0
  183. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced.md +301 -0
  184. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/compliance.md +24 -0
  185. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/release-notes.md +51 -0
  186. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x.md +281 -0
  187. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/automatic-event-tracking.md +70 -0
  188. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/debugging-and-logging.md +57 -0
  189. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/native-support.md +104 -0
  190. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/preset-properties.md +91 -0
  191. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance.md +374 -0
  192. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/compliance.md +35 -0
  193. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/release-notes.md +109 -0
  194. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator.md +170 -0
  195. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/compliance.md +28 -0
  196. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/automatic-event-tracking.md +29 -0
  197. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/debugging-and-logging.md +58 -0
  198. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/preset-properties.md +43 -0
  199. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced.md +204 -0
  200. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/release-notes.md +29 -0
  201. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona.md +269 -0
  202. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/compliance.md +24 -0
  203. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/release-notes.md +177 -0
  204. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/automatic-event-tracking.md +119 -0
  205. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/debugging-and-logging.md +47 -0
  206. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/multi-instance.md +50 -0
  207. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/native-pluggable.md +43 -0
  208. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/preset-properties.md +212 -0
  209. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/third-party-integration.md +77 -0
  210. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced.md +396 -0
  211. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity.md +176 -0
  212. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/compliance.md +24 -0
  213. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/release-notes.md +81 -0
  214. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/automatic-event-tracking.md +79 -0
  215. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/debugging-and-logging.md +31 -0
  216. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/preset-properties.md +25 -0
  217. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/third-party-integrations.md +141 -0
  218. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced.md +278 -0
  219. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal.md +190 -0
  220. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine.md +14 -0
  221. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/h5-and-app-sdk-connection.md +147 -0
  222. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/instant-app-and-game.md +24 -0
  223. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/compliance.md +24 -0
  224. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/automatic-event-tracking.md +272 -0
  225. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/debugging-and-logging.md +77 -0
  226. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/multi-instance.md +142 -0
  227. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/preset-properties.md +484 -0
  228. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/third-party-integrations.md +132 -0
  229. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced.md +682 -0
  230. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/release-notes.md +163 -0
  231. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios.md +304 -0
  232. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/compliance.md +29 -0
  233. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/automatic-event-tracking.md +136 -0
  234. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/debugging-and-logging.md +48 -0
  235. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/multi-instance.md +50 -0
  236. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/preset-properties.md +132 -0
  237. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced.md +462 -0
  238. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/release-notes.md +107 -0
  239. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript.md +208 -0
  240. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced/debugging-and-logging.md +62 -0
  241. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced/preset-properties.md +118 -0
  242. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced.md +556 -0
  243. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos.md +231 -0
  244. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk.md +25 -0
  245. package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/filebeat-logstash-user-guide.md +610 -0
  246. package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/logbus2-user-guide.md +1215 -0
  247. package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/ta-datax-writer-plugin-user-guide.md +278 -0
  248. package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools.md +15 -0
  249. package/wiki/te-docs/raw/data-ingestion-guide/privacy-policy.md +38 -0
  250. package/wiki/te-docs/raw/data-ingestion-guide/restful-api-user-guide.md +155 -0
  251. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging-FM9Cwz.md +37 -0
  252. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging-RSyfw7.md +41 -0
  253. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging.md +89 -0
  254. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties-OxzWw.md +126 -0
  255. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties-VuE3wr.md +126 -0
  256. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties.md +126 -0
  257. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced-IauKwI.md +175 -0
  258. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced-YAilwk.md +210 -0
  259. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced.md +211 -0
  260. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes-PVazwa.md +62 -0
  261. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes-TADbwY.md +50 -0
  262. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes.md +69 -0
  263. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c-V2W3wv.md +131 -0
  264. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c-Zf9Jwl.md +179 -0
  265. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c.md +189 -0
  266. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced/debugging-and-logging.md +38 -0
  267. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced/preset-properties.md +126 -0
  268. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced.md +113 -0
  269. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/release-notes.md +34 -0
  270. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang.md +155 -0
  271. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced/debugging-and-logging.md +42 -0
  272. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced/preset-properties.md +126 -0
  273. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced.md +157 -0
  274. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/release-notes.md +72 -0
  275. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang.md +148 -0
  276. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced/debugging-and-logging.md +49 -0
  277. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced/preset-properties.md +126 -0
  278. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced.md +223 -0
  279. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/release-notes.md +88 -0
  280. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java.md +174 -0
  281. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced/debugging-and-logging.md +46 -0
  282. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced/preset-properties.md +126 -0
  283. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced.md +182 -0
  284. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/release-notes.md +61 -0
  285. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua.md +121 -0
  286. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced/debugging-and-logging.md +55 -0
  287. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced/preset-properties.md +126 -0
  288. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced.md +225 -0
  289. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/release-notes.md +45 -0
  290. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs.md +141 -0
  291. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced/debugging-and-logging.md +41 -0
  292. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced/preset-properties.md +126 -0
  293. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced.md +216 -0
  294. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/release-notes.md +45 -0
  295. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php.md +173 -0
  296. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced/debugging-and-logging.md +40 -0
  297. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced/preset-properties.md +126 -0
  298. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced.md +206 -0
  299. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/release-notes.md +51 -0
  300. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python.md +116 -0
  301. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/release-notes.md +44 -0
  302. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced/debugging-and-logging.md +47 -0
  303. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced/preset-properties.md +126 -0
  304. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced.md +189 -0
  305. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby.md +142 -0
  306. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk.md +22 -0
  307. package/wiki/te-docs/raw/data-ingestion-guide/thinkingdata-privacy-policy.md +37 -0
  308. package/wiki/te-docs/raw/data-ingestion-guide.md +48 -0
  309. package/wiki/te-docs/raw/preparations-before-data-ingestion/data-rules.md +396 -0
  310. package/wiki/te-docs/raw/preparations-before-data-ingestion/preset-properties-and-system-fields.md +957 -0
  311. package/wiki/te-docs/raw/preparations-before-data-ingestion/user-identification-rules.md +723 -0
  312. package/wiki/te-docs/raw/preparations-before-data-ingestion.md +203 -0
  313. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//345/220/210/350/247/204/346/214/207/345/215/227.md +96 -0
  314. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//346/233/264/346/226/260/346/227/245/345/277/227.md +97 -0
  315. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +52 -0
  316. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +48 -0
  317. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +447 -0
  318. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227.md +370 -0
  319. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony.md +172 -0
  320. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//345/220/210/350/247/204/346/214/207/345/215/227.md +37 -0
  321. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//346/233/264/346/226/260/346/227/245/345/277/227.md +209 -0
  322. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +71 -0
  323. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +49 -0
  324. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +125 -0
  325. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +498 -0
  326. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227.md +612 -0
  327. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217.md +373 -0
  328. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//345/220/210/350/247/204/346/214/207/345/215/227.md +26 -0
  329. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//346/233/264/346/226/260/346/227/245/345/277/227.md +32 -0
  330. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +48 -0
  331. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +30 -0
  332. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +61 -0
  333. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227.md +236 -0
  334. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua.md +200 -0
  335. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//346/233/264/346/226/260/346/227/245/345/277/227.md +83 -0
  336. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227/native/346/224/257/346/214/201.md +66 -0
  337. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +54 -0
  338. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +62 -0
  339. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +358 -0
  340. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227.md +615 -0
  341. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret.md +166 -0
  342. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//346/233/264/346/226/260/346/227/245/345/277/227.md +87 -0
  343. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227/native/346/224/257/346/214/201.md +71 -0
  344. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +54 -0
  345. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +61 -0
  346. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +406 -0
  347. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227.md +597 -0
  348. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair.md +179 -0
  349. package/wiki/te-docs/schema.md +16 -0
  350. package/wiki/te-docs/synthesis/batch-ingest-comparison.md +324 -0
  351. package/wiki/te-docs/synthesis/js-sdk-cheatsheet.md +538 -0
  352. package/wiki/te-docs/synthesis/restful-api-reference.md +363 -0
  353. package/wiki/te-docs/synthesis/sdk-selection.md +372 -0
  354. package/wiki/te-docs/synthesis/server-sdk-overview.md +449 -0
  355. package/dist/chunk-U6TKB3IV.js +0 -171
@@ -0,0 +1,1215 @@
1
+ ---
2
+ code: logbus2_installation
3
+ name: "LogBus2 User Guide"
4
+ wikiToken: HoUywXWnNiqVfWkTJXwcbFG8n0c
5
+ parentWikiToken: S9D7wPqKDiC6zhkvv2dc6MgonCg
6
+ updateTime: 1774249346000
7
+ sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=logbus2_installation
8
+ ---
9
+
10
+ **I. Introduction to LogBus2**
11
+ <quote-container>
12
+ LogBus2 is a log synchronization tool redeveloped on the basis of the original LogBus. Compared with the original LogBus, its memory footprint is reduced to 1/5 of the original, but its speed is increased by 5 times.
13
+ </quote-container>
14
+
15
+ ---
16
+
17
+
18
+ Logbus2 is mainly used to import back-end log data to the TA background in real time. Its core working principle is similar to that of Flume and Loggie. It will monitor the file flow in the log directory of the server. When any log file in the directory has new data, it will verify new data and send it to the TA background in real time.
19
+ We recommend the following types of users access data by using LogBus2:
20
+
21
+ 1. Users who use server SDK / Kafka / SLS to store data in TA format and upload data through LogBus2
22
+ 2. Users who have high requirements for accuracy and dimension of the data, whose data requirements cannot be met only depending on the client SDK, or for whom it is inconvenient to access the client SDK
23
+ 3. Users who don't want to develop the back-end data push process by themselves
24
+ 4. Users who need to transmit bulk historical data
25
+ 5. Users who have certain requirements for memory usage and transmission efficiency
26
+
27
+ ## **II. Download LogBus2**
28
+ **Latest version: **2.1.1.6
29
+ **Update time:** 2024-12-20
30
+ [Linux-amd64 download](https://download.thinkingdata.cn/tools/release/ta-logBus-v2-linux-amd64.tar.gz)
31
+ [Linux-arm64 download](https://download.thinkingdata.cn/tools/release/ta-logBus-v2-linux-arm64.tar.gz)
32
+ [Windows version download](https://download.thinkingdata.cn/tools/release/ta-logBus-v2-windows-amd64.tar.gz)
33
+ [Mac Apple Silicon download](https://download.thinkingdata.cn/tools/release/ta-logBus-v2-darwin-arm64.tar.gz)
34
+ [Mac Intel download](https://download.thinkingdata.cn/tools/release/ta-logBus-v2-darwin-amd64.tar.gz)
35
+ [Docker Image](https://hub.docker.com/r/thinkingdata/ta-logbus-v2)
36
+ ####
37
+ ## **III. Preparation before use**
38
+ ### **File type**
39
+ 1. Determine the directory where the uploaded data files are stored, and configure LogBus2. In this case, LogBus2 will monitor the file changes in the fc.
40
+ 2. Do not directly rename the uploaded data logs stored in the monitoring directory. Renaming the log is equivalent to creating a new file, and LogBus2 may upload these files again, resulting in data duplication.
41
+ 3. Since there is a snapshot of the current log transmission progress in the LogBus2 running directory, please do not work with the files in the runtime directory by yourself
42
+ ### **Kafka**
43
+ 1. Determine the Kafka message format. In this case, Logbus will only process the value part of the Kafka Message
44
+ 2. Ensure that partitions are split based on userIDs to avoid out-of-order data
45
+ 3. Please enable the free use of Kafka Consumer Group to avoid the failure of multiple Logbus consumers
46
+ 4. Consume from the earliest by default. To consume from a specified location, you need to create a consumer group with a specific offset first.
47
+ ### **SLS**
48
+ 1. Contact Alibaba Cloud to enable Kafka protocol support
49
+ ## **IV. Installation and update of LogBus2**
50
+ ### **Installation**
51
+ Download and decompress the LogBus2 [<text underline="true">installation package.</text>](https://thinkingdata.feishu.cn/docx/HswYdoSwzo2ePTxjsAnctLrHnxb)
52
+ Decompressed directory structure:
53
+ <image token="ZEQ4bwhxao26ixx0nqGcBxONnMf" width="504" height="254" align="center"/>
54
+
55
+
56
+ - **Logbus:**LogBus2: binary file
57
+ - **conf: **
58
+ - **daemon.json: **configuration file template 2
59
+ - **tools:**
60
+ - **configConvert: **configuration conversion tool
61
+ ### **Update**
62
+ Requirement: LogBus2 version ≥ 2.0.1.
63
+ Direct execution
64
+ `./logbus update`, execute after update.
65
+ `./logbus start`
66
+
67
+ ## **V. Use and configuration of Logbus2**
68
+ ### **Start parameters**
69
+ #### **Start**
70
+ ```shell {wrap}
71
+ ./logbus start
72
+ ```
73
+
74
+ **Stop**
75
+ ```shell {wrap}
76
+ ./logbus stop
77
+ ```
78
+
79
+ #### **Restart**
80
+ ```shell {wrap}
81
+ ./logbus restart
82
+ ```
83
+
84
+ #### **Check configuration and connectivity to TA system**
85
+ ```shell {wrap}
86
+ ./logbus env
87
+ ```
88
+
89
+ **Reset LogBus read records**
90
+ ```shell {wrap}
91
+ ./logbus reset
92
+ # Kafka is currently unavailable
93
+ ```
94
+
95
+ **View transmission progress**
96
+ ```shell {wrap}
97
+ ./logbus progress
98
+ # Kafka is currently unavailable
99
+ ```
100
+
101
+ #### **Verify file format**
102
+ ```shell {wrap}
103
+ ./logbus dev
104
+ # Kafka is currently unavailable
105
+ ```
106
+
107
+ ### **Configuration file guide**
108
+ #### **Default configuration template**
109
+ ```json {wrap}
110
+ {
111
+ "datasource": [
112
+ {
113
+ "file_patterns": [
114
+ "/data/log1/*.txt",
115
+ "/data/log2/*.log"
116
+ ],//file matching character
117
+ "app_id": "app_id",//app_id from the token of ta's official website, please get the APPID of the implementation project on the project configuration page of TA background and fill it here
118
+ },
119
+ ],
120
+ "push_url": "http://RECEIVER_URL"//http transmission, please use http://receiver.ta.thinkingdata.cn/, if you enable privatization deployment, please modify the transmission URL to http://data acquisition address/
121
+ }
122
+ ```
123
+
124
+ #### **Common configuration**
125
+ ###### **File**
126
+ ```json {wrap}
127
+ {
128
+ "datasource": [
129
+ {
130
+ "type":"file",
131
+ "file_patterns": ["/data/log1/*.txt", "/data/log2/*.log"], //file Glob matching rules
132
+ "app_id": "app_id", //APPID from the token of ta's official website, please get the APPID of the implementation project on the project configuration page of TA background and fill it here
133
+ "unit_remove": "day"| "hour", //file deletion unit
134
+ "offset_remove": 7,//unit_remove*offset_remove get the final removal time**offset must be greater than 0, otherwise it is invalid
135
+ "remove_dirs": true|false,//enable folder deletion or not NOTE: Only delete the folder after all files in the folder have been consumed
136
+ "http_compress": "gzip"|"none",//enable http compression or not,
137
+ }
138
+ ],
139
+ "cpu_limit": 4, //limit the number of CPU cores used by Logbus2
140
+
141
+ "push_url": "http://RECEIVER_URL"
142
+ }
143
+
144
+ ```
145
+
146
+ ###### **Kafka**
147
+ ```json {wrap}
148
+ {
149
+ "datasource": [
150
+ {
151
+ "type":"kafka", //type: Kafka
152
+ "topic":"ta", //specific topic
153
+ "brokers":[
154
+ "localhost:9091" //Kafka Brokers address
155
+ ],
156
+ "consumer_group":"logbus", //consumer group name
157
+ "cloud_provider":"ali"|"tencent"|"huawei", //cloud provider name
158
+ "username":"", //Kafka username
159
+ "password":"", //Kafka password
160
+ "instance":"", //cloud provider instance name
161
+ "protocol":"none"|"plain"|"scramsha256"|"scramsha512", //authentication protocol
162
+ "block_partitions_revoked":true,
163
+ "app_id":"YOUR_APP_ID"
164
+ }
165
+ ],
166
+ "cpu_limit": 4, //limit the number of CPU cores used by Logbus2
167
+
168
+ "push_url": "http://RECEIVER_URL"
169
+ }
170
+ ```
171
+
172
+ ###### **SLS**
173
+ <text color="red">NOTE: </text><text color="red">Please</text><text color="red"> contact </text><text color="red">Alibaba Cloud</text><text color="red"> to enable the SLS Kafka consumption protocol before SLS consumption</text>
174
+ ```json {wrap}
175
+ {
176
+ "datasource": [
177
+ {
178
+ "type":"kafka",
179
+ "brokers":["{PROJECT}.{ENTRYPOINT}:{PORT}"], //NOTE: see https://www.alibabacloud.com/help/en/log-service/latest/endpoints#reference-wgx-pwq-zdb for details
180
+ "topic":"{SLS_Logstore_NAME}", //Logstore name
181
+ "protocol":"plain",
182
+ "consumer_group":"{YOUR_CONSUMER_GROUP}", // ConsumerGroup
183
+ "username":"{PROJECT}", // Project name
184
+ "disable_tls":true,
185
+ "password":"{ACCESS_ID}#{ACCESS_PASSWORD}", // authorization by Alibaba Cloud RAM
186
+ "app_id":"YOUR_APP_ID"
187
+ }
188
+ ],
189
+ "push_url": "http://RECEIVER_URL"
190
+ }
191
+ ```
192
+
193
+ #### **Complete configuration item**
194
+ ##### **Configuration item list and description**
195
+
196
+ <lark-table rows="4" cols="5" column-widths="139,83,114,75,313">
197
+
198
+ <lark-tr>
199
+ <lark-td>
200
+ **Configuration**
201
+ </lark-td>
202
+ <lark-td>
203
+ **Type**
204
+ </lark-td>
205
+ <lark-td>
206
+ **Example**
207
+ </lark-td>
208
+ <lark-td>
209
+ **Required field**
210
+ </lark-td>
211
+ <lark-td>
212
+ **Description**
213
+ </lark-td>
214
+ </lark-tr>
215
+ <lark-tr>
216
+ <lark-td>
217
+ cpu_limit
218
+ </lark-td>
219
+ <lark-td>
220
+ Number
221
+ </lark-td>
222
+ <lark-td>
223
+ 4
224
+ </lark-td>
225
+ <lark-td>
226
+ </lark-td>
227
+ <lark-td>
228
+ Limit the maximum allowable number of CPU cores used by Logbus2
229
+ </lark-td>
230
+ </lark-tr>
231
+ <lark-tr>
232
+ <lark-td>
233
+ push_url
234
+ </lark-td>
235
+ <lark-td>
236
+ String
237
+ </lark-td>
238
+ <lark-td>
239
+ </lark-td>
240
+ <lark-td>
241
+ ✔️
242
+ </lark-td>
243
+ <lark-td>
244
+ Receiver address, starting with http/https.
245
+ </lark-td>
246
+ </lark-tr>
247
+ <lark-tr>
248
+ <lark-td>
249
+ datasource
250
+ </lark-td>
251
+ <lark-td>
252
+ Object list
253
+ </lark-td>
254
+ <lark-td>
255
+ </lark-td>
256
+ <lark-td>
257
+ ✔️
258
+ </lark-td>
259
+ <lark-td>
260
+ Data source list
261
+ </lark-td>
262
+ </lark-tr>
263
+ </lark-table>
264
+
265
+ ##### **datasource (data source configuration)**
266
+ ###### **File**
267
+
268
+ <lark-table rows="14" cols="6" column-widths="139,83,114,75,95,336">
269
+
270
+ <lark-tr>
271
+ <lark-td>
272
+ Configuration
273
+ </lark-td>
274
+ <lark-td>
275
+ Type
276
+ </lark-td>
277
+ <lark-td>
278
+ Example
279
+ </lark-td>
280
+ <lark-td>
281
+ Required field
282
+ </lark-td>
283
+ <lark-td>
284
+ Default value
285
+ </lark-td>
286
+ <lark-td>
287
+ Description
288
+ </lark-td>
289
+ </lark-tr>
290
+ <lark-tr>
291
+ <lark-td>
292
+ app_id
293
+ </lark-td>
294
+ <lark-td>
295
+ String
296
+ </lark-td>
297
+ <lark-td>
298
+ </lark-td>
299
+ <lark-td>
300
+ ✔️
301
+ </lark-td>
302
+ <lark-td>
303
+ ""
304
+ </lark-td>
305
+ <lark-td>
306
+ Data reporting project appid
307
+ </lark-td>
308
+ </lark-tr>
309
+ <lark-tr>
310
+ <lark-td>
311
+ appid_in_data
312
+ </lark-td>
313
+ <lark-td>
314
+ Bool
315
+ </lark-td>
316
+ <lark-td>
317
+ false
318
+ </lark-td>
319
+ <lark-td>
320
+ </lark-td>
321
+ <lark-td>
322
+ false
323
+ </lark-td>
324
+ <lark-td>
325
+ When set to true, logbus will use appid from data instead rather than the configure value.
326
+ </lark-td>
327
+ </lark-tr>
328
+ <lark-tr>
329
+ <lark-td>
330
+ specified_push_url
331
+ </lark-td>
332
+ <lark-td>
333
+ Bool
334
+ </lark-td>
335
+ <lark-td>
336
+ </lark-td>
337
+ <lark-td>
338
+ </lark-td>
339
+ <lark-td>
340
+ false
341
+ </lark-td>
342
+ <lark-td>
343
+ True: do not parse push_url, and send it as the push_url configured by the user, that is, http://yourhost:yourport.
344
+ False: After parsing the push_url, send it according to the logbus url specified by the receiver, namely http://yourhost:yourport/logbus.
345
+ </lark-td>
346
+ </lark-tr>
347
+ <lark-tr>
348
+ <lark-td>
349
+ add_uuid
350
+ </lark-td>
351
+ <lark-td>
352
+ Bool
353
+ </lark-td>
354
+ <lark-td>
355
+ </lark-td>
356
+ <lark-td>
357
+ </lark-td>
358
+ <lark-td>
359
+ false
360
+ </lark-td>
361
+ <lark-td>
362
+ True: Add the uuid property in each piece of data or not (the transmission efficiency will reduce if enabled).
363
+ </lark-td>
364
+ </lark-tr>
365
+ <lark-tr>
366
+ <lark-td>
367
+ file_patterns
368
+ </lark-td>
369
+ <lark-td>
370
+ String list
371
+ </lark-td>
372
+ <lark-td>
373
+ </lark-td>
374
+ <lark-td>
375
+ ✔️
376
+ </lark-td>
377
+ <lark-td>
378
+ [""]
379
+ </lark-td>
380
+ <lark-td>
381
+ Directory wildcards are supported, but regular expressions are not supported at this time. If without special configuration, it is bypassed by default. Files suffixed with gz/.iso/.rpm/.zip/.bz/.rar/.bz2
382
+ </lark-td>
383
+ </lark-tr>
384
+ <lark-tr>
385
+ <lark-td>
386
+ ignore_files
387
+ </lark-td>
388
+ <lark-td>
389
+ String list
390
+ </lark-td>
391
+ <lark-td>
392
+ </lark-td>
393
+ <lark-td>
394
+ </lark-td>
395
+ <lark-td>
396
+ [""]
397
+ </lark-td>
398
+ <lark-td>
399
+ Files filtered in file_patterns
400
+ </lark-td>
401
+ </lark-tr>
402
+ <lark-tr>
403
+ <lark-td>
404
+ unit_remove
405
+ </lark-td>
406
+ <lark-td>
407
+ String
408
+ </lark-td>
409
+ <lark-td>
410
+ </lark-td>
411
+ <lark-td>
412
+ </lark-td>
413
+ <lark-td>
414
+ ""
415
+ </lark-td>
416
+ <lark-td>
417
+ Delete user files. Delete by day or hour. Note: If no configuration file is automatically deleted, the memory footprint of LogBus2 will gradually increase
418
+ </lark-td>
419
+ </lark-tr>
420
+ <lark-tr>
421
+ <lark-td>
422
+ offset_remove
423
+ </lark-td>
424
+ <lark-td>
425
+ Int
426
+ </lark-td>
427
+ <lark-td>
428
+ </lark-td>
429
+ <lark-td>
430
+ </lark-td>
431
+ <lark-td>
432
+ 0
433
+ </lark-td>
434
+ <lark-td>
435
+ Delete user files. When offset_remove>0 and unit_remove is configured by day or hour, the user file deletion function can be enabled.
436
+ </lark-td>
437
+ </lark-tr>
438
+ <lark-tr>
439
+ <lark-td>
440
+ remove_dirs
441
+ </lark-td>
442
+ <lark-td>
443
+ Bool
444
+ </lark-td>
445
+ <lark-td>
446
+ true|false
447
+ </lark-td>
448
+ <lark-td>
449
+ </lark-td>
450
+ <lark-td>
451
+ false
452
+ </lark-td>
453
+ <lark-td>
454
+ Delete the folder or not
455
+ </lark-td>
456
+ </lark-tr>
457
+ <lark-tr>
458
+ <lark-td>
459
+ http_timeout
460
+ </lark-td>
461
+ <lark-td>
462
+ String
463
+ </lark-td>
464
+ <lark-td>
465
+ 500ms
466
+ </lark-td>
467
+ <lark-td>
468
+ </lark-td>
469
+ <lark-td>
470
+ 600s
471
+ </lark-td>
472
+ <lark-td>
473
+ Timeout when sending data to receiver, default value: 600s. Range: 200ms - 600s. Support milliseconds "ms", seconds "s", minutes "m", hours "h".
474
+ </lark-td>
475
+ </lark-tr>
476
+ <lark-tr>
477
+ <lark-td>
478
+ iops
479
+ </lark-td>
480
+ <lark-td>
481
+ int
482
+ </lark-td>
483
+ <lark-td>
484
+ 20000
485
+ </lark-td>
486
+ <lark-td>
487
+ </lark-td>
488
+ <lark-td>
489
+ 20000
490
+ </lark-td>
491
+ <lark-td>
492
+ Limit Logbus data traffic per second (number of items)
493
+ </lark-td>
494
+ </lark-tr>
495
+ <lark-tr>
496
+ <lark-td>
497
+ limit
498
+ </lark-td>
499
+ <lark-td>
500
+ bool
501
+ </lark-td>
502
+ <lark-td>
503
+ true|false
504
+ </lark-td>
505
+ <lark-td>
506
+ </lark-td>
507
+ <lark-td>
508
+ false
509
+ </lark-td>
510
+ <lark-td>
511
+ Turn on the speed limit switch
512
+ </lark-td>
513
+ </lark-tr>
514
+ <lark-tr>
515
+ <lark-td>
516
+ http_compress
517
+ </lark-td>
518
+ <lark-td>
519
+ String
520
+ </lark-td>
521
+ <lark-td>
522
+ none | gzip
523
+ </lark-td>
524
+ <lark-td>
525
+ </lark-td>
526
+ <lark-td>
527
+ none
528
+ </lark-td>
529
+ <lark-td>
530
+ Format of data compression when sending http. none=no compression. Default value: none.
531
+ </lark-td>
532
+ </lark-tr>
533
+ </lark-table>
534
+
535
+ NOTE: The max_batch_size is verified first, followed by batch length verification. If the last interval is 2 seconds, it is forced to send.
536
+ ###### **Kafka**
537
+ <text color="red">NOTE: Before enabling the </text><text color="red">Logbus</text><text color="red"> Kafka mode, be sure to enable the free use of the Consumer Group</text>
538
+
539
+ <lark-table rows="15" cols="6" column-widths="139,83,114,75,100,366">
540
+
541
+ <lark-tr>
542
+ <lark-td>
543
+ Configuration {align="center"}
544
+ </lark-td>
545
+ <lark-td>
546
+ Type {align="center"}
547
+ </lark-td>
548
+ <lark-td>
549
+ Example {align="center"}
550
+ </lark-td>
551
+ <lark-td>
552
+ Required field {align="center"}
553
+ </lark-td>
554
+ <lark-td>
555
+ Default value {align="center"}
556
+ </lark-td>
557
+ <lark-td>
558
+ Description {align="center"}
559
+ </lark-td>
560
+ </lark-tr>
561
+ <lark-tr>
562
+ <lark-td>
563
+ brokers
564
+ </lark-td>
565
+ <lark-td>
566
+ String List
567
+ </lark-td>
568
+ <lark-td>
569
+ ["localhost:9092"]
570
+ </lark-td>
571
+ <lark-td>
572
+ ✔️
573
+ </lark-td>
574
+ <lark-td>
575
+ [""]
576
+ </lark-td>
577
+ <lark-td>
578
+ Kafka Brokers
579
+ </lark-td>
580
+ </lark-tr>
581
+ <lark-tr>
582
+ <lark-td>
583
+ topic
584
+ </lark-td>
585
+ <lark-td>
586
+ String
587
+ </lark-td>
588
+ <lark-td>
589
+ "ta-msg-chan"
590
+ </lark-td>
591
+ <lark-td>
592
+ ✔️
593
+ </lark-td>
594
+ <lark-td>
595
+ ""
596
+ </lark-td>
597
+ <lark-td>
598
+ Kafka topic
599
+ </lark-td>
600
+ </lark-tr>
601
+ <lark-tr>
602
+ <lark-td>
603
+ consumer_group
604
+ </lark-td>
605
+ <lark-td>
606
+ String
607
+ </lark-td>
608
+ <lark-td>
609
+ "ta-consumer"
610
+ </lark-td>
611
+ <lark-td>
612
+ ✔️
613
+ </lark-td>
614
+ <lark-td>
615
+ ""
616
+ </lark-td>
617
+ <lark-td>
618
+ Kafka Consumer Group
619
+ </lark-td>
620
+ </lark-tr>
621
+ <lark-tr>
622
+ <lark-td>
623
+ protocol
624
+ </lark-td>
625
+ <lark-td>
626
+ String
627
+ </lark-td>
628
+ <lark-td>
629
+ "plain"
630
+ </lark-td>
631
+ <lark-td>
632
+ </lark-td>
633
+ <lark-td>
634
+ "none"
635
+ </lark-td>
636
+ <lark-td>
637
+ Kafka authentication mode
638
+ </lark-td>
639
+ </lark-tr>
640
+ <lark-tr>
641
+ <lark-td>
642
+ username
643
+ </lark-td>
644
+ <lark-td>
645
+ String
646
+ </lark-td>
647
+ <lark-td>
648
+ "ta-user"
649
+ </lark-td>
650
+ <lark-td>
651
+ </lark-td>
652
+ <lark-td>
653
+ ""
654
+ </lark-td>
655
+ <lark-td>
656
+ Kafka username
657
+ </lark-td>
658
+ </lark-tr>
659
+ <lark-tr>
660
+ <lark-td>
661
+ password
662
+ </lark-td>
663
+ <lark-td>
664
+ String
665
+ </lark-td>
666
+ <lark-td>
667
+ "ta-password"
668
+ </lark-td>
669
+ <lark-td>
670
+ </lark-td>
671
+ <lark-td>
672
+ ""
673
+ </lark-td>
674
+ <lark-td>
675
+ Kafka password
676
+ </lark-td>
677
+ </lark-tr>
678
+ <lark-tr>
679
+ <lark-td>
680
+ instance
681
+ </lark-td>
682
+ <lark-td>
683
+ String
684
+ </lark-td>
685
+ <lark-td>
686
+ ""
687
+ </lark-td>
688
+ <lark-td>
689
+ </lark-td>
690
+ <lark-td>
691
+ ""
692
+ </lark-td>
693
+ <lark-td>
694
+ CKafka instance ID
695
+ </lark-td>
696
+ </lark-tr>
697
+ <lark-tr>
698
+ <lark-td>
699
+ fetch_count
700
+ </lark-td>
701
+ <lark-td>
702
+ Number
703
+ </lark-td>
704
+ <lark-td>
705
+ 1000
706
+ </lark-td>
707
+ <lark-td>
708
+ </lark-td>
709
+ <lark-td>
710
+ 10000
711
+ </lark-td>
712
+ <lark-td>
713
+ Number of messages per Poll
714
+ </lark-td>
715
+ </lark-tr>
716
+ <lark-tr>
717
+ <lark-td>
718
+ fetch_time_out
719
+ </lark-td>
720
+ <lark-td>
721
+ Number
722
+ </lark-td>
723
+ <lark-td>
724
+ 30
725
+ </lark-td>
726
+ <lark-td>
727
+ </lark-td>
728
+ <lark-td>
729
+ 5
730
+ </lark-td>
731
+ <lark-td>
732
+ Poll timeout
733
+ </lark-td>
734
+ </lark-tr>
735
+ <lark-tr>
736
+ <lark-td>
737
+ read_committed
738
+ </lark-td>
739
+ <lark-td>
740
+ Bool
741
+ </lark-td>
742
+ <lark-td>
743
+ true
744
+ </lark-td>
745
+ <lark-td>
746
+ </lark-td>
747
+ <lark-td>
748
+ false
749
+ </lark-td>
750
+ <lark-td>
751
+ Consume Kafka UnCommitted data or not
752
+ </lark-td>
753
+ </lark-tr>
754
+ <lark-tr>
755
+ <lark-td>
756
+ disable_tls
757
+ </lark-td>
758
+ <lark-td>
759
+ Bool
760
+ </lark-td>
761
+ <lark-td>
762
+ true
763
+ </lark-td>
764
+ <lark-td>
765
+ </lark-td>
766
+ <lark-td>
767
+ false
768
+ </lark-td>
769
+ <lark-td>
770
+ Disable tls verification
771
+ </lark-td>
772
+ </lark-tr>
773
+ <lark-tr>
774
+ <lark-td>
775
+ cloud_provider
776
+ </lark-td>
777
+ <lark-td>
778
+ String
779
+ </lark-td>
780
+ <lark-td>
781
+ "tencent"
782
+ </lark-td>
783
+ <lark-td>
784
+ </lark-td>
785
+ <lark-td>
786
+ ""
787
+ </lark-td>
788
+ <lark-td>
789
+ Enabled when the public network is connected to Kafka. Currently, the following cloud providers provide this service: tencent, huawei, ali
790
+ </lark-td>
791
+ </lark-tr>
792
+ <lark-tr>
793
+ <lark-td>
794
+ block_partitions_revoked
795
+ </lark-td>
796
+ <lark-td>
797
+ Bool
798
+ </lark-td>
799
+ <lark-td>
800
+ false
801
+ </lark-td>
802
+ <lark-td>
803
+ </lark-td>
804
+ <lark-td>
805
+ false
806
+ </lark-td>
807
+ <lark-td>
808
+ Block consumption or not. If disabled, data duplication will occur when multiple Logbuses are in the same consumer_group
809
+ </lark-td>
810
+ </lark-tr>
811
+ <lark-tr>
812
+ <lark-td>
813
+ auto_reset_offset
814
+ </lark-td>
815
+ <lark-td>
816
+ String
817
+ </lark-td>
818
+ <lark-td>
819
+ "earliest"
820
+ </lark-td>
821
+ <lark-td>
822
+ </lark-td>
823
+ <lark-td>
824
+ "earliest"
825
+ </lark-td>
826
+ <lark-td>
827
+ A parameter that specifies the default behavior when there are no committed offsets
828
+ </lark-td>
829
+ </lark-tr>
830
+ </lark-table>
831
+
832
+ NOTE: Logbusv2 currently consumes Kafka in load balance mode, and the number of Logbusv2 deployments is ≤ partition num
833
+ ##### **Monitoring configuration and dashboard construction**
834
+ Please view: [<text color="blue" underline="true">Monitoring Configuration DEMO</text>](https%3A%2F%2Fthinkingdata.feishu.cn%2Fdocx%2FEEBpdN6oyoOBBXx5D81cALwNnPh)
835
+ ##### **Alert configuration**
836
+ Please view: [<text underline="true">Alert Configuration DEMO</text>](https%3A%2F%2Fthinkingdata.feishu.cn%2Fdocx%2FJvyBd8mAqoblc1xGnxjczzz3nKd)
837
+ ##### **Plugin use**
838
+ Please view:[<text underline="true"> </text>](https%3A%2F%2Fthinkingdata.feishu.cn%2Fdocx%2FJvyBd8mAqoblc1xGnxjczzz3nKd)[<text color="blue" underline="true">Plugin Configuration DEMO</text>](https%3A%2F%2Fthinkingdata.feishu.cn%2Fdocx%2FJvyBd8mAqoblc1xGnxjczzz3nKd)
839
+
840
+ ## **VI. Advanced use**
841
+ ### **Report multiple events through a single Logbus**
842
+ In the case of single Logbus deployment, due to IO limitations, there may be situations where some information is consumed with a delay, for example
843
+ <image token="MF19bWENGoPfikx1VTLcCyDsnwh" width="206" height="640" align="center"/>
844
+
845
+ Due to polling, the consumption order is `event_*/log.1 -> event_*/log.2 -> event_*/log.3`. In this case, file consumption will slow down. You can enable multiple LogBuses to cut logs without contextual meaning through GloBs so that the files matched by GloBs can be uploaded in parallel
846
+ ### **Multiple PipeLine configuration**
847
+ <text color="red">NOTE</text><text color="red">: </text><text color="red">The appid cannot be repeated under multiple PipeLine</text>
848
+ ```json {wrap}
849
+ {
850
+ "datasource": [
851
+ {
852
+ "file_patterns": ["/data/log1/*.txt", "/data/log2/*.log"], //file Glob matching rules
853
+ "app_id": "app_id", //APPID from the token of ta's official website, please get the APPID of the implementation project on the project configuration page of TA background and fill it here
854
+ "unit_remove": "day"| "hour", //file deletion unit
855
+ "offset_remove": 7,//unit_remove*offset_remove get the final removal time**offset must be greater than 0, otherwise it is invalid
856
+ "remove_dirs": true|false,//enable folder deletion or not NOTE: Only delete the folder after all files in the folder have been consumed
857
+ "http_compress": "gzip"|"none",//enable http compression or not
858
+ },
859
+ {
860
+ "file_patterns": ["/data/log1/*.txt", "/data/log2/*.log"], //file Glob matching rules
861
+ "app_id": "app_id", //APPID from the token of ta's official website, please get the APPID of the implementation project on the project configuration page of TA background and fill it here
862
+ "unit_remove": "day"| "hour", //file deletion unit
863
+ "offset_remove": 7,//unit_remove*offset_remove get the final removal time**offset must be greater than 0, otherwise it is invalid
864
+ "remove_dirs": true|false,//enable folder deletion or not NOTE: Only delete the folder after all files in the folder have been consumed
865
+ "http_compress": "gzip"|"none",//enable http compression or not
866
+ }
867
+ ],
868
+ "cpu_limit": 4, //limit the number of CPU cores used by Logbus2
869
+
870
+ "push_url": "http://RECEIVER_URL"
871
+ }
872
+ ```
873
+
874
+ ### **LogBus2 On Docker**
875
+ #### **Pull the latest mirror**
876
+ ```bash
877
+ docker pull thinkingdata/ta-logbus-v2:latest
878
+ ```
879
+
880
+ #### **Create a persistent folder on the host and initialize the configuration file**
881
+ ```bash
882
+ mkdir -p /your/folder/path/{conf,log,runtime}
883
+ touch /your/folder/path/daemon.json
884
+ vim /your/folder/path/daemon.json
885
+ ```
886
+
887
+ **⚠️ Warning: Do not delete any file in the runtime directory by yourself**
888
+ #### **Modify the configuration template and write to **`**daemon.json**`
889
+ ```json
890
+ {
891
+ "datasource": [
892
+ {
893
+ "type":"file",
894
+ "app_id": "YOUR APP ID",
895
+ "file_patterns": ["/test-data/*.json"],
896
+ "app_id":""
897
+ },
898
+ {
899
+ "type":"kafka",
900
+ "app_id": "YOUR APP ID",
901
+ "brokers": ["localhot:9092"],
902
+ "topic":"ta-message",
903
+ "consumer_group":"ta",
904
+ "app_id":""
905
+ }
906
+ ],
907
+ "push_url": "YOUR PUSH URL WITHOUT SUFFIX OF/logbus"
908
+ }
909
+ ```
910
+
911
+ #### **Mount the data folder and start LogBus**
912
+ ```bash
913
+ docker run -d \
914
+ --name logbus-v2 \
915
+ --restart=always \
916
+ -v /your/data/folder:/test-data/ \
917
+ -v /your/folder/path/conf/:/ta/logbus/conf/ \
918
+ -v /your/folder/path/log/:/ta/logbus/log/ \
919
+ -v /your/folder/path/runtime/:/ta/logbus/runtime/ \
920
+ thinkingdata/ta-logbus-v2:latest
921
+ ```
922
+
923
+ ### **LogBus2 On K8s**
924
+ #### **Prepare the environment**
925
+ 1. Kubectl can connect to the k8s cluster and has deployment permissions.
926
+ 2. Installing dependencies: install helm to the local command line according to the helm file https://helm.sh/zh/docs/intro/install/
927
+
928
+ #### **Download the logbus v2 helm file**
929
+ [<text underline="true">download link</text>](https://download.thinkingdata.cn/tools/release/logBusv2-helm.tar)
930
+ <view type="1">
931
+
932
+ <file token="YkJTbVhKoo0iuQxXUrjcUs1Knwf" name="ta-logBusv2-2.0.1.8-helm.tar.gz"/>
933
+
934
+ </view>
935
+
936
+ ```apache
937
+ tar xvf logBusv2-helm.tar && cd logbusv2
938
+ ```
939
+
940
+
941
+ #### **Configure logbus**
942
+
943
+ #### **Preparations**
944
+ 1. Create the log pvc to be uploaded on the console
945
+ 2. Get the pvc name and confirm the namespace
946
+ 3. Get TA's app id, receiver url
947
+
948
+ #### **Modify values.yaml**
949
+ ```yaml {wrap}
950
+ pvc:
951
+ name: pvc name
952
+ logbus_version: 2.1.0.2
953
+ namespace: namcspace name
954
+ logbus_configs:
955
+ - push_url: "http://receiver address of TA upload data"
956
+ datasource:
957
+ - file_patterns:
958
+ - "container:wildcard of the relative path to the file" # Do not delete the prefix "container:"
959
+ - "container: wildcard of the relative path to the file" # Do not delete the prefix "container:"
960
+ app_id: app id of TA system
961
+ ```
962
+
963
+ #### **yaml for preview rendering**
964
+ ```apache {wrap}
965
+ helm install --dry-run -f values.yaml logbus .
966
+ ```
967
+
968
+ #### **Use helm to deploy logbusv2**
969
+ ```apache {wrap}
970
+ helm install -f values.yaml logbus-v2 .
971
+ ```
972
+
973
+ **Check the created statefulset**
974
+ ```powershell {wrap}
975
+ kubectl get statefulset
976
+ ```
977
+
978
+ **Check the created pod**
979
+ ```powershell {wrap}
980
+ kubectl get pods
981
+ ```
982
+
983
+ **Update the LogBus in K8s**
984
+ ```bash
985
+ vim value.yaml # Modify the previous value.yaml file
986
+ # Modify logbus_version to the latest NOTE: Considering backward compatibility, it's better not to use the latest!
987
+ logbus_version:2.0.1.8 -> logbus_version:2.1.0.2
988
+ # save and exit
989
+ helm upgrade -f values.yaml logbus .
990
+ # Wait for rolling update
991
+ ```
992
+
993
+ #### **Notes**
994
+ Logbusv2 has read and write permissions on the pvc of the mounted log.
995
+ Logbusv2 writes file consumption records and running logs to PVC respectively according to pod. If PVC deletes logbus-related records, there is a risk of data retransmission.
996
+ ### **Configuration details**
997
+ Execute command:
998
+ ```powershell {wrap}
999
+ helm show values .
1000
+ ```
1001
+
1002
+ Show available configurations:
1003
+ ```yaml {wrap}
1004
+ # Default values for logbusv2.
1005
+ # This is a YAML-formatted file.
1006
+ # Declare variables to be passed into your templates.
1007
+
1008
+ pvc:
1009
+ name: pvc-logbus
1010
+ logbus_version: 2.1.0.2
1011
+ namespace: big-data
1012
+
1013
+ logbus_configs:
1014
+ #### pod 1
1015
+ #### push_url: receiver url, need http:// https:// prefix
1016
+ - push_url: "http://172.17.16.6:8992/"
1017
+ datasource:
1018
+ - file_patterns:
1019
+ #### target files relative path in pvc
1020
+ - "container:/ta-logbus-0/data_path/*"
1021
+ #### TA app_id
1022
+ app_id: "thinkingAnalyticsAppID"
1023
+ #### pod 2
1024
+ - push_url: "http://172.26.18.132:8992/"
1025
+ datasource:
1026
+ - file_patterns:
1027
+ - "container:/ta-logbus-1/data_path/*"
1028
+ app_id: "thinkingAnalyticsAppID"
1029
+ #### pod 3
1030
+ - push_url: "http://172.26.18.132:8992/"
1031
+ datasource:
1032
+ - file_patterns:
1033
+ - "container:/ta-logbus-2/data_path/*"
1034
+ app_id: "thinkingAnalyticsAppID"
1035
+
1036
+ #### logbus pod requests
1037
+ #requests:
1038
+ # cpu: 2
1039
+ # memory: 1Gi
1040
+ ```
1041
+
1042
+ requests not clearly configured will not be reflected in yaml.
1043
+
1044
+ #### **pvc order catalog**
1045
+ ```yaml {wrap}
1046
+ pvc:
1047
+ name: write the actual pvc name
1048
+
1049
+ namespace: existing namespace
1050
+
1051
+ logbus_configs:
1052
+ - push_url: http or https, write the TA receiver URL that the pod can access
1053
+ datasource:
1054
+ - file_patterns:
1055
+ - "container:/ta-logbus-0/data_path/*" "container:"placeholder. During yaml deployment, the relative path is replaced with an absolute path that the container can access. When configuring the directory, the directory is prefixed with container:.
1056
+ app_id: "thinkingAnalyticsAppID" TA system app id
1057
+ ```
1058
+
1059
+ **Multiple directories in pvc**
1060
+ When reading multiple directories in pvc, it is recommended to deploy them in pods, and each pod is responsible for a folder. This allows for better deployment performance and security.
1061
+ ```yaml {wrap}
1062
+
1063
+ pvc:
1064
+ name: pvc-logbus
1065
+
1066
+ namespace: big-data
1067
+
1068
+ logbus_configs:
1069
+ #### pod 1
1070
+ #### push_url: receiver url, need http:// https:// prefix
1071
+ - push_url: "http://172.17.16.6:8992/"
1072
+ datasource:
1073
+ - file_patterns:
1074
+ #### target files relative path in pvc
1075
+ - "container:/ta-logbus-0/data_path/*"
1076
+ #### TA app_id
1077
+ app_id: "thinkingAnalyticsAppID"
1078
+ #### pod 2
1079
+ - push_url: "http://172.26.18.132:8992/"note that each app id and push url need to be configured separately
1080
+ datasource:
1081
+ - file_patterns:
1082
+ - "container:/ta-logbus-1/data_path/*"
1083
+ app_id: "thinkingAnalyticsAppID"
1084
+ #### pod 3
1085
+ - push_url: "http://172.26.18.132:8992/"
1086
+ datasource:
1087
+ - file_patterns:
1088
+ - "container:/ta-logbus-2/data_path/*"
1089
+ app_id: "thinkingAnalyticsAppID"
1090
+ ```
1091
+
1092
+ #### **Multi-pvc**
1093
+ Currently, it only supports the deployment of a single pvc, and multi-pvc requires multiple configurations of values.yaml file
1094
+
1095
+ ## **VII. FAQs**
1096
+ **Q: **Why is folder deletion enabled, but LogBus does not delete the folder?
1097
+ **A: **The prerequisite for LogBus to delete a folder is that the files in the current folder have been read by LogBus and there is no file in the folder, then folder deletion will be triggered
1098
+
1099
+ **Q: **Why can't the log be uploaded?
1100
+ **A: **In the data files read by LogBus, there should be no line breaks in a single piece of data. The configured data file does not support regular expressions, only wildcard (Glob) is used. Can the configured data file rules be matched to files
1101
+
1102
+ **Q: **Why are files uploaded repeatedly?
1103
+ **A: **In the data files read by LogBus, there should be no line breaks in a single piece of data. The configured data file does not support regular expressions, only wildcard (Glob) is used. Can the configured data file rules be matched to files
1104
+
1105
+ **Q: **Why data skewing
1106
+ **A**: Currently TE uses distinct_id as data UUID for shuffle. When using the same string for the distinct_id of massive data, it may lead to the increase of memory pressure on a single machine, thus increasing the risk of data skew.
1107
+ ## **VIII. Releases Note**
1108
+ ### Version: 2.1.1.6 --- 2024.12.20
1109
+ **Optimizations**:
1110
+ - Using http proxies configured in env
1111
+ ### Version: 2.1.1.4 --- 2024.5.15
1112
+ **Optimizations**:
1113
+ - Kafka source now supports `fetch_max_partition_bytes`
1114
+ - DataSource supports skipping remote validation, default off
1115
+ - Utilizing SIMD for accelerated JSON processing
1116
+ ### Version:2.1.1.3 --- 2024.2.23
1117
+ **Optimizations**
1118
+ - Enhanced Kafka Progress experience
1119
+ - Added support for the `auto_reset_offset` parameter
1120
+ - Logged Kafka Client related information for improved logging
1121
+ **Bug Fixes**
1122
+ - Force shutdown causing Logbus to kill the wrong process
1123
+ - Memory leak issue
1124
+ - Goroutine leak problem
1125
+ - Kafka timeouts not being consumed
1126
+ - Failure to start on Windows version
1127
+ - Inability to update on Windows version
1128
+ ### **Version:2.1.1.2 --- 2024.2.2**
1129
+ **Improve**
1130
+ - i18n log format
1131
+ ### **Version:2.1.1.1 --- 2024.1.10**
1132
+ **Improve**
1133
+ - The accuracy of the `progress` command.
1134
+ ### **Version:2.1.1.0 --- 2023.12.11**
1135
+ - **Fix**
1136
+ - The default values for logs have been adjusted to retain logs for 7 days by default, with individual files split at 100MB and a maximum retention of 30 log files. <text color="red">Without upgrading, the configuration can also be set using the log configuration option</text>.
1137
+ - **Impact **
1138
+ - In the case of generating a large amount of unparseable error data in the data source, the logging of these errors can lead to the log files becoming increasingly large.
1139
+ ### **Version:2.1.0.9 --- 2023.10.26**
1140
+ **Add **
1141
+ - Support for event filters allows data filtering to be performed on the client side.
1142
+ - Support for space detection within the logbus directory.
1143
+
1144
+ ### **Version:2.1.0.8 --- 2023.6.06**
1145
+ **Improve **
1146
+ - Ensuring proper closure of plugins is essential.
1147
+ - Optimizing process communication and log output is crucial for improving overall system performance.
1148
+ **Fix**
1149
+ - CPU limit log output
1150
+ - linux arm version compile
1151
+ ### **Version:2.1.0.7 --- 2023.4.07**
1152
+ **Add **
1153
+ - Kafka Source support command `progress`
1154
+ **Improve **
1155
+ - Custom tags support retrieving environment variables
1156
+ ### **Version:2.1.0.6 --- 2023.3.28**
1157
+ **Improve **
1158
+ - Support for custom tags to trace data sources
1159
+ - Support for custom plugin delimiters
1160
+ ### **Version**:2.1.0.5 --- 2023.2.20
1161
+ **Improve**
1162
+ - Data streaming project supports arrays, compatible with numeric and string primitive types
1163
+ - Monitoring metric calculation logic
1164
+ ### **Version:2.1.0.4 --- 2023.1.12**
1165
+ **Add **
1166
+ - Support configuration to read data from files without newline characters
1167
+ - Support configuring the number of iterations and interval time for cyclic reading
1168
+ **Fix**
1169
+ - Fix concurrency bugs in monitoring metric statistics
1170
+ ### **Version:2.1.0.3 --- 2022.12.23**
1171
+ **Add**
1172
+ - Allow overriding internal appid data through configuration
1173
+ **Fix **
1174
+ - Use appid_in_data and remove the default value for appid
1175
+ ### **Version: 2.1.0.2 --- 2022.12.13**
1176
+ **Add**
1177
+ - Plugin supports property splitting
1178
+ **Repair**
1179
+ - Create meta_name under multiple pipelines
1180
+ ### **Version: 2.1.0.1 --- 2022.11.29**
1181
+ **Add**
1182
+ - The kafka data source supports transactional read committed
1183
+ - Plugin command supports sh environmental dependencies
1184
+ **Repair**
1185
+ - Create meta_name without appid configuration
1186
+ ### **Version: 2.1.0.0 --- 2022.11.22**
1187
+ **Add:**
1188
+ - Data distribution: distribute data to different projects according to the configuration appidMap
1189
+ - Kafka data source supports multi-topic consumption
1190
+ - Limiter, to limit the reporting speed and reduce the server pressure
1191
+ - Multiple pipelines perform data reporting
1192
+ - Custom plugin parser based on grpc
1193
+ - Real-time performance monitoring (prometheus, pushgateway, grafana)
1194
+ - Add lz4 " lzo to the compaction algorithm
1195
+ **Repair:**
1196
+ - Fix the bug where logbus is unable to stop under the kafka data source
1197
+ - Fix the bug that the file is too active to jump out under the file data source
1198
+ - Fix the file monitor closing issue
1199
+ ### **Version: 2.0.1.8 --- 2022.07.20**
1200
+ **Add:**
1201
+ - dev (format verification command)
1202
+ - Kafka Source
1203
+ - Multi-platform
1204
+ **Repair:**
1205
+ - Problem with waking up file transmission several times
1206
+ - Less log volume
1207
+ - `Progress` sorting by file transmission time
1208
+ - Multi-pipeline optimization
1209
+ - `Docker image` streamlining
1210
+ ### **Version: 2.0.1.7 --- 2022.03.01**
1211
+ **Optimization:**
1212
+ - Operating efficiency, higher performance
1213
+ - File deletion logic
1214
+ - Location file export logic
1215
+ - Memory footprint