@perses-dev/splunk-plugin 0.1.0 → 0.2.0-beta.2

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 (160) hide show
  1. package/__mf/js/{Splunk.6f71e9ce.js → Splunk.98b2d5ad.js} +4 -4
  2. package/__mf/js/async/121.cd990f2a.js +2 -0
  3. package/__mf/js/async/181.45639ce7.js +2 -0
  4. package/__mf/js/async/230.28ff3a01.js +1 -0
  5. package/__mf/js/async/392.54d1105e.js +2 -0
  6. package/__mf/js/async/392.54d1105e.js.LICENSE.txt +8 -0
  7. package/__mf/js/async/43.c13dea67.js +2 -0
  8. package/__mf/js/async/{116.9f39e2dc.js.LICENSE.txt → 43.c13dea67.js.LICENSE.txt} +1 -41
  9. package/__mf/js/async/470.39364cc9.js +2 -0
  10. package/__mf/js/async/496.5533cf13.js +1 -0
  11. package/__mf/js/async/562.faedd192.js +2 -0
  12. package/__mf/js/async/77.d9722d64.js +1 -0
  13. package/__mf/js/async/788.e519d52f.js +43 -0
  14. package/__mf/js/async/{332.fc51c4d5.js.LICENSE.txt → 788.e519d52f.js.LICENSE.txt} +39 -8
  15. package/__mf/js/async/873.84546c86.js +1 -0
  16. package/__mf/js/async/874.496bb61a.js +4 -0
  17. package/__mf/js/async/874.496bb61a.js.LICENSE.txt +9 -0
  18. package/__mf/js/async/879.ab41564d.js +102 -0
  19. package/__mf/js/async/882.0bb195b0.js +1 -0
  20. package/__mf/js/async/941.049134e9.js +2 -0
  21. package/__mf/js/async/963.4c102cc8.js +1 -0
  22. package/__mf/js/async/967.49cac6cc.js +1 -0
  23. package/__mf/js/async/978.1b184143.js +1 -0
  24. package/__mf/js/async/982.8181aade.js +10 -0
  25. package/__mf/js/async/__federation_expose_SplunkDatasource.5b9ca25b.js +2 -0
  26. package/__mf/js/async/__federation_expose_SplunkLogQuery.5e35f21f.js +2 -0
  27. package/__mf/js/async/__federation_expose_SplunkTimeSeriesQuery.62f3d6f2.js +2 -0
  28. package/__mf/js/async/lib-router.02ac6b0e.js +2 -0
  29. package/__mf/js/{main.ccd342d6.js → main.4223bafa.js} +3 -3
  30. package/lib/bootstrap.js +2 -2
  31. package/lib/datasources/index.js +1 -1
  32. package/lib/datasources/index.js.map +1 -1
  33. package/lib/datasources/splunk-datasource/SplunkDatasource.d.ts +3 -3
  34. package/lib/datasources/splunk-datasource/SplunkDatasource.d.ts.map +1 -1
  35. package/lib/datasources/splunk-datasource/SplunkDatasource.js +2 -2
  36. package/lib/datasources/splunk-datasource/SplunkDatasource.js.map +1 -1
  37. package/lib/datasources/splunk-datasource/SplunkDatasourceEditor.d.ts +2 -2
  38. package/lib/datasources/splunk-datasource/SplunkDatasourceEditor.d.ts.map +1 -1
  39. package/lib/datasources/splunk-datasource/SplunkDatasourceEditor.js +1 -1
  40. package/lib/datasources/splunk-datasource/SplunkDatasourceEditor.js.map +1 -1
  41. package/lib/datasources/splunk-datasource/index.js +3 -3
  42. package/lib/datasources/splunk-datasource/index.js.map +1 -1
  43. package/lib/datasources/splunk-datasource/splunk-datasource-types.d.ts +1 -1
  44. package/lib/datasources/splunk-datasource/splunk-datasource-types.d.ts.map +1 -1
  45. package/lib/datasources/splunk-datasource/splunk-datasource-types.js.map +1 -1
  46. package/lib/getPluginModule.d.ts +1 -1
  47. package/lib/getPluginModule.d.ts.map +1 -1
  48. package/lib/getPluginModule.js +3 -1
  49. package/lib/getPluginModule.js.map +1 -1
  50. package/lib/index-federation.js +1 -1
  51. package/lib/index.js +4 -4
  52. package/lib/index.js.map +1 -1
  53. package/lib/model/index.js +2 -2
  54. package/lib/model/index.js.map +1 -1
  55. package/lib/model/splunk-client.d.ts +1 -1
  56. package/lib/model/splunk-client.d.ts.map +1 -1
  57. package/lib/model/splunk-client.js +1 -1
  58. package/lib/model/splunk-client.js.map +1 -1
  59. package/lib/queries/index.js +2 -2
  60. package/lib/queries/index.js.map +1 -1
  61. package/lib/queries/splunk-log-query/SplunkLogQuery.d.ts +2 -2
  62. package/lib/queries/splunk-log-query/SplunkLogQuery.d.ts.map +1 -1
  63. package/lib/queries/splunk-log-query/SplunkLogQuery.js +4 -6
  64. package/lib/queries/splunk-log-query/SplunkLogQuery.js.map +1 -1
  65. package/lib/queries/splunk-log-query/SplunkLogQueryEditor.d.ts +3 -3
  66. package/lib/queries/splunk-log-query/SplunkLogQueryEditor.d.ts.map +1 -1
  67. package/lib/queries/splunk-log-query/SplunkLogQueryEditor.js +3 -3
  68. package/lib/queries/splunk-log-query/SplunkLogQueryEditor.js.map +1 -1
  69. package/lib/queries/splunk-log-query/get-splunk-log-data.d.ts +2 -2
  70. package/lib/queries/splunk-log-query/get-splunk-log-data.d.ts.map +1 -1
  71. package/lib/queries/splunk-log-query/get-splunk-log-data.js +2 -2
  72. package/lib/queries/splunk-log-query/get-splunk-log-data.js.map +1 -1
  73. package/lib/queries/splunk-log-query/index.js +4 -4
  74. package/lib/queries/splunk-log-query/index.js.map +1 -1
  75. package/lib/queries/splunk-log-query/log-query-plugin-interface.d.ts +2 -2
  76. package/lib/queries/splunk-log-query/log-query-plugin-interface.d.ts.map +1 -1
  77. package/lib/queries/splunk-log-query/log-query-plugin-interface.js.map +1 -1
  78. package/lib/queries/splunk-log-query/splunk-log-query-types.d.ts +2 -2
  79. package/lib/queries/splunk-log-query/splunk-log-query-types.d.ts.map +1 -1
  80. package/lib/queries/splunk-log-query/splunk-log-query-types.js.map +1 -1
  81. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQuery.d.ts +2 -2
  82. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQuery.d.ts.map +1 -1
  83. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQuery.js +4 -6
  84. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQuery.js.map +1 -1
  85. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.d.ts +3 -3
  86. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.d.ts.map +1 -1
  87. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.js +3 -3
  88. package/lib/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.js.map +1 -1
  89. package/lib/queries/splunk-time-series-query/get-splunk-time-series-data.d.ts +2 -2
  90. package/lib/queries/splunk-time-series-query/get-splunk-time-series-data.d.ts.map +1 -1
  91. package/lib/queries/splunk-time-series-query/get-splunk-time-series-data.js +2 -2
  92. package/lib/queries/splunk-time-series-query/get-splunk-time-series-data.js.map +1 -1
  93. package/lib/queries/splunk-time-series-query/index.js +4 -4
  94. package/lib/queries/splunk-time-series-query/index.js.map +1 -1
  95. package/lib/queries/splunk-time-series-query/splunk-time-series-query-types.d.ts +2 -2
  96. package/lib/queries/splunk-time-series-query/splunk-time-series-query-types.d.ts.map +1 -1
  97. package/lib/queries/splunk-time-series-query/splunk-time-series-query-types.js.map +1 -1
  98. package/lib/setup-tests.d.ts +1 -1
  99. package/lib/setup-tests.d.ts.map +1 -1
  100. package/lib/setup-tests.js +2 -2
  101. package/lib/setup-tests.js.map +1 -1
  102. package/mf-manifest.json +60 -44
  103. package/mf-stats.json +60 -44
  104. package/package.json +10 -9
  105. package/__mf/js/async/116.9f39e2dc.js +0 -7
  106. package/__mf/js/async/121.0ceb8113.js +0 -2
  107. package/__mf/js/async/181.4d01713c.js +0 -2
  108. package/__mf/js/async/332.fc51c4d5.js +0 -139
  109. package/__mf/js/async/386.da241588.js +0 -2
  110. package/__mf/js/async/470.e7f915b7.js +0 -2
  111. package/__mf/js/async/537.880623e7.js +0 -1
  112. package/__mf/js/async/558.db2f2486.js +0 -1
  113. package/__mf/js/async/756.8162c322.js +0 -24
  114. package/__mf/js/async/756.8162c322.js.LICENSE.txt +0 -44
  115. package/__mf/js/async/842.601cf14f.js +0 -1
  116. package/__mf/js/async/941.693e183d.js +0 -2
  117. package/__mf/js/async/963.0f837958.js +0 -1
  118. package/__mf/js/async/982.e5647ac8.js +0 -10
  119. package/__mf/js/async/__federation_expose_SplunkDatasource.b9438a9e.js +0 -2
  120. package/__mf/js/async/__federation_expose_SplunkLogQuery.8d011abe.js +0 -2
  121. package/__mf/js/async/__federation_expose_SplunkTimeSeriesQuery.264a58b9.js +0 -2
  122. package/__mf/js/async/lib-router.31611676.js +0 -2
  123. package/lib/cjs/bootstrap.js +0 -27
  124. package/lib/cjs/datasources/index.js +0 -30
  125. package/lib/cjs/datasources/splunk-datasource/SplunkDatasource.js +0 -69
  126. package/lib/cjs/datasources/splunk-datasource/SplunkDatasourceEditor.js +0 -71
  127. package/lib/cjs/datasources/splunk-datasource/index.js +0 -32
  128. package/lib/cjs/datasources/splunk-datasource/splunk-datasource-types.js +0 -16
  129. package/lib/cjs/env.d.js +0 -14
  130. package/lib/cjs/getPluginModule.js +0 -39
  131. package/lib/cjs/index-federation.js +0 -55
  132. package/lib/cjs/index.js +0 -39
  133. package/lib/cjs/model/index.js +0 -31
  134. package/lib/cjs/model/splunk-client-types.js +0 -16
  135. package/lib/cjs/model/splunk-client.js +0 -151
  136. package/lib/cjs/queries/constants.js +0 -25
  137. package/lib/cjs/queries/index.js +0 -31
  138. package/lib/cjs/queries/splunk-log-query/SplunkLogQuery.js +0 -43
  139. package/lib/cjs/queries/splunk-log-query/SplunkLogQueryEditor.js +0 -95
  140. package/lib/cjs/queries/splunk-log-query/get-splunk-log-data.js +0 -127
  141. package/lib/cjs/queries/splunk-log-query/index.js +0 -33
  142. package/lib/cjs/queries/splunk-log-query/log-query-plugin-interface.js +0 -16
  143. package/lib/cjs/queries/splunk-log-query/splunk-log-query-types.js +0 -16
  144. package/lib/cjs/queries/splunk-time-series-query/SplunkTimeSeriesQuery.js +0 -43
  145. package/lib/cjs/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.js +0 -95
  146. package/lib/cjs/queries/splunk-time-series-query/get-splunk-time-series-data.js +0 -106
  147. package/lib/cjs/queries/splunk-time-series-query/index.js +0 -33
  148. package/lib/cjs/queries/splunk-time-series-query/splunk-time-series-query-types.js +0 -16
  149. package/lib/cjs/setup-tests.js +0 -19
  150. /package/__mf/css/async/{116.85c2cbf6.css → 788.85c2cbf6.css} +0 -0
  151. /package/__mf/js/async/{121.0ceb8113.js.LICENSE.txt → 121.cd990f2a.js.LICENSE.txt} +0 -0
  152. /package/__mf/js/async/{181.4d01713c.js.LICENSE.txt → 181.45639ce7.js.LICENSE.txt} +0 -0
  153. /package/__mf/js/async/{470.e7f915b7.js.LICENSE.txt → 470.39364cc9.js.LICENSE.txt} +0 -0
  154. /package/__mf/js/async/{386.da241588.js.LICENSE.txt → 562.faedd192.js.LICENSE.txt} +0 -0
  155. /package/__mf/js/async/{941.693e183d.js.LICENSE.txt → 941.049134e9.js.LICENSE.txt} +0 -0
  156. /package/__mf/js/async/{982.e5647ac8.js.LICENSE.txt → 982.8181aade.js.LICENSE.txt} +0 -0
  157. /package/__mf/js/async/{__federation_expose_SplunkDatasource.b9438a9e.js.LICENSE.txt → __federation_expose_SplunkDatasource.5b9ca25b.js.LICENSE.txt} +0 -0
  158. /package/__mf/js/async/{__federation_expose_SplunkLogQuery.8d011abe.js.LICENSE.txt → __federation_expose_SplunkLogQuery.5e35f21f.js.LICENSE.txt} +0 -0
  159. /package/__mf/js/async/{__federation_expose_SplunkTimeSeriesQuery.264a58b9.js.LICENSE.txt → __federation_expose_SplunkTimeSeriesQuery.62f3d6f2.js.LICENSE.txt} +0 -0
  160. /package/__mf/js/async/{lib-router.31611676.js.LICENSE.txt → lib-router.02ac6b0e.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-log-query/index.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport * from './get-splunk-log-data';\nexport * from './SplunkLogQuery';\nexport * from './SplunkLogQueryEditor';\nexport * from './splunk-log-query-types';\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,cAAc,wBAAwB;AACtC,cAAc,mBAAmB;AACjC,cAAc,yBAAyB;AACvC,cAAc,2BAA2B"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-log-query/index.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport * from './get-splunk-log-data';\nexport * from './SplunkLogQuery';\nexport * from './SplunkLogQueryEditor';\nexport * from './splunk-log-query-types';\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,cAAc,2BAAwB;AACtC,cAAc,sBAAmB;AACjC,cAAc,4BAAyB;AACvC,cAAc,8BAA2B"}
@@ -1,5 +1,5 @@
1
- import { DatasourceStore, Plugin, VariableStateMap } from '@perses-dev/plugin-system';
2
- import { AbsoluteTimeRange, LogData, UnknownSpec } from '@perses-dev/spec';
1
+ import type { DatasourceStore, Plugin, VariableStateMap } from '@perses-dev/plugin-system';
2
+ import type { AbsoluteTimeRange, LogData, UnknownSpec } from '@perses-dev/spec';
3
3
  export interface LogQueryResult {
4
4
  logs: LogData;
5
5
  timeRange: AbsoluteTimeRange;
@@ -1 +1 @@
1
- {"version":3,"file":"log-query-plugin-interface.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-log-query/log-query-plugin-interface.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE3E,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,iBAAiB,CAAC;IAC7B,QAAQ,CAAC,EAAE;QACT,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;CACH;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,iBAAiB,CAAC;IAC7B,aAAa,EAAE,gBAAgB,CAAC;IAChC,eAAe,EAAE,eAAe,CAAC;CAClC;AAED,KAAK,0BAA0B,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,cAAc,CAAC,IAAI,GAAG,WAAW,CAAE,SAAQ,MAAM,CAAC,IAAI,CAAC;IACtE,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,eAAe,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IAC1E,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,eAAe,KAAK,0BAA0B,CAAC;CAC9E"}
1
+ {"version":3,"file":"log-query-plugin-interface.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-log-query/log-query-plugin-interface.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC3F,OAAO,KAAK,EAAE,iBAAiB,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEhF,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,iBAAiB,CAAC;IAC7B,QAAQ,CAAC,EAAE;QACT,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;CACH;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,iBAAiB,CAAC;IAC7B,aAAa,EAAE,gBAAgB,CAAC;IAChC,eAAe,EAAE,eAAe,CAAC;CAClC;AAED,KAAK,0BAA0B,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,cAAc,CAAC,IAAI,GAAG,WAAW,CAAE,SAAQ,MAAM,CAAC,IAAI,CAAC;IACtE,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,eAAe,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IAC1E,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,eAAe,KAAK,0BAA0B,CAAC;CAC9E"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-log-query/log-query-plugin-interface.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { DatasourceStore, Plugin, VariableStateMap } from '@perses-dev/plugin-system';\nimport { AbsoluteTimeRange, LogData, UnknownSpec } from '@perses-dev/spec';\n\nexport interface LogQueryResult {\n logs: LogData;\n timeRange: AbsoluteTimeRange;\n metadata?: {\n executedQueryString: string;\n };\n}\n\nexport interface LogQueryContext {\n timeRange: AbsoluteTimeRange;\n variableState: VariableStateMap;\n datasourceStore: DatasourceStore;\n}\n\ntype LogQueryPluginDependencies = {\n variables?: string[];\n};\n\nexport interface LogQueryPlugin<Spec = UnknownSpec> extends Plugin<Spec> {\n getLogData: (spec: Spec, ctx: LogQueryContext) => Promise<LogQueryResult>;\n dependsOn?: (spec: Spec, ctx: LogQueryContext) => LogQueryPluginDependencies;\n}\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAuBjC,WAGC"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-log-query/log-query-plugin-interface.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport type { DatasourceStore, Plugin, VariableStateMap } from '@perses-dev/plugin-system';\nimport type { AbsoluteTimeRange, LogData, UnknownSpec } from '@perses-dev/spec';\n\nexport interface LogQueryResult {\n logs: LogData;\n timeRange: AbsoluteTimeRange;\n metadata?: {\n executedQueryString: string;\n };\n}\n\nexport interface LogQueryContext {\n timeRange: AbsoluteTimeRange;\n variableState: VariableStateMap;\n datasourceStore: DatasourceStore;\n}\n\ntype LogQueryPluginDependencies = {\n variables?: string[];\n};\n\nexport interface LogQueryPlugin<Spec = UnknownSpec> extends Plugin<Spec> {\n getLogData: (spec: Spec, ctx: LogQueryContext) => Promise<LogQueryResult>;\n dependsOn?: (spec: Spec, ctx: LogQueryContext) => LogQueryPluginDependencies;\n}\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAuBjC,WAGC"}
@@ -1,5 +1,5 @@
1
- import { DatasourceSelector } from '@perses-dev/spec';
2
- import { SplunkLogResults } from '../../model/splunk-client-types';
1
+ import type { DatasourceSelector } from '@perses-dev/spec';
2
+ import type { SplunkLogResults } from '../../model/splunk-client-types';
3
3
  export interface SplunkLogQuerySpec {
4
4
  query: string;
5
5
  datasource?: DatasourceSelector;
@@ -1 +1 @@
1
- {"version":3,"file":"splunk-log-query-types.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-log-query/splunk-log-query-types.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC"}
1
+ {"version":3,"file":"splunk-log-query-types.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-log-query/splunk-log-query-types.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-log-query/splunk-log-query-types.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { DatasourceSelector } from '@perses-dev/spec';\nimport { SplunkLogResults } from '../../model/splunk-client-types';\n\nexport interface SplunkLogQuerySpec {\n query: string;\n datasource?: DatasourceSelector;\n earliest?: string;\n latest?: string;\n maxResults?: number;\n}\n\nexport type SplunkLogQueryResponse = SplunkLogResults;\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAajC,WAAsD"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-log-query/splunk-log-query-types.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport type { DatasourceSelector } from '@perses-dev/spec';\n\nimport type { SplunkLogResults } from '../../model/splunk-client-types';\n\nexport interface SplunkLogQuerySpec {\n query: string;\n datasource?: DatasourceSelector;\n earliest?: string;\n latest?: string;\n maxResults?: number;\n}\n\nexport type SplunkLogQueryResponse = SplunkLogResults;\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAcjC,WAAsD"}
@@ -1,4 +1,4 @@
1
- import { TimeSeriesQueryPlugin } from '@perses-dev/plugin-system';
2
- import { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';
1
+ import type { TimeSeriesQueryPlugin } from '@perses-dev/plugin-system';
2
+ import type { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';
3
3
  export declare const SplunkTimeSeriesQuery: TimeSeriesQueryPlugin<SplunkTimeSeriesQuerySpec>;
4
4
  //# sourceMappingURL=SplunkTimeSeriesQuery.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SplunkTimeSeriesQuery.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQuery.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,qBAAqB,EAAkB,MAAM,2BAA2B,CAAC;AAGlF,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAE7E,eAAO,MAAM,qBAAqB,EAAE,qBAAqB,CAAC,yBAAyB,CAWlF,CAAC"}
1
+ {"version":3,"file":"SplunkTimeSeriesQuery.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQuery.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAIvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAGlF,eAAO,MAAM,qBAAqB,EAAE,qBAAqB,CAAC,yBAAyB,CAWlF,CAAC"}
@@ -10,9 +10,9 @@
10
10
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
- import { parseVariables } from '@perses-dev/plugin-system';
14
- import { getSplunkTimeSeriesData } from './get-splunk-time-series-data';
15
- import { SplunkTimeSeriesQueryEditor } from './SplunkTimeSeriesQueryEditor';
13
+ import { parseVariables } from "@perses-dev/plugin-system";
14
+ import { getSplunkTimeSeriesData } from "./get-splunk-time-series-data.js";
15
+ import { SplunkTimeSeriesQueryEditor } from "./SplunkTimeSeriesQueryEditor.js";
16
16
  export const SplunkTimeSeriesQuery = {
17
17
  getTimeSeriesData: getSplunkTimeSeriesData,
18
18
  OptionsEditorComponent: SplunkTimeSeriesQueryEditor,
@@ -22,9 +22,7 @@ export const SplunkTimeSeriesQuery = {
22
22
  dependsOn: (spec)=>{
23
23
  const queryVariables = parseVariables(spec.query);
24
24
  const allVariables = [
25
- ...new Set([
26
- ...queryVariables
27
- ])
25
+ ...new Set(queryVariables)
28
26
  ];
29
27
  return {
30
28
  variables: allVariables
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQuery.tsx"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { TimeSeriesQueryPlugin, parseVariables } from '@perses-dev/plugin-system';\nimport { getSplunkTimeSeriesData } from './get-splunk-time-series-data';\nimport { SplunkTimeSeriesQueryEditor } from './SplunkTimeSeriesQueryEditor';\nimport { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';\n\nexport const SplunkTimeSeriesQuery: TimeSeriesQueryPlugin<SplunkTimeSeriesQuerySpec> = {\n getTimeSeriesData: getSplunkTimeSeriesData,\n OptionsEditorComponent: SplunkTimeSeriesQueryEditor,\n createInitialOptions: () => ({ query: '' }),\n dependsOn: (spec) => {\n const queryVariables = parseVariables(spec.query);\n const allVariables = [...new Set([...queryVariables])];\n return {\n variables: allVariables,\n };\n },\n};\n"],"names":["parseVariables","getSplunkTimeSeriesData","SplunkTimeSeriesQueryEditor","SplunkTimeSeriesQuery","getTimeSeriesData","OptionsEditorComponent","createInitialOptions","query","dependsOn","spec","queryVariables","allVariables","Set","variables"],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAAgCA,cAAc,QAAQ,4BAA4B;AAClF,SAASC,uBAAuB,QAAQ,gCAAgC;AACxE,SAASC,2BAA2B,QAAQ,gCAAgC;AAG5E,OAAO,MAAMC,wBAA0E;IACrFC,mBAAmBH;IACnBI,wBAAwBH;IACxBI,sBAAsB,IAAO,CAAA;YAAEC,OAAO;QAAG,CAAA;IACzCC,WAAW,CAACC;QACV,MAAMC,iBAAiBV,eAAeS,KAAKF,KAAK;QAChD,MAAMI,eAAe;eAAI,IAAIC,IAAI;mBAAIF;aAAe;SAAE;QACtD,OAAO;YACLG,WAAWF;QACb;IACF;AACF,EAAE"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQuery.tsx"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport type { TimeSeriesQueryPlugin } from '@perses-dev/plugin-system';\nimport { parseVariables } from '@perses-dev/plugin-system';\n\nimport { getSplunkTimeSeriesData } from './get-splunk-time-series-data';\nimport type { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';\nimport { SplunkTimeSeriesQueryEditor } from './SplunkTimeSeriesQueryEditor';\n\nexport const SplunkTimeSeriesQuery: TimeSeriesQueryPlugin<SplunkTimeSeriesQuerySpec> = {\n getTimeSeriesData: getSplunkTimeSeriesData,\n OptionsEditorComponent: SplunkTimeSeriesQueryEditor,\n createInitialOptions: () => ({ query: '' }),\n dependsOn: (spec) => {\n const queryVariables = parseVariables(spec.query);\n const allVariables = [...new Set(queryVariables)];\n return {\n variables: allVariables,\n };\n },\n};\n"],"names":["parseVariables","getSplunkTimeSeriesData","SplunkTimeSeriesQueryEditor","SplunkTimeSeriesQuery","getTimeSeriesData","OptionsEditorComponent","createInitialOptions","query","dependsOn","spec","queryVariables","allVariables","Set","variables"],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAGjC,SAASA,cAAc,QAAQ,4BAA4B;AAE3D,SAASC,uBAAuB,QAAQ,mCAAgC;AAExE,SAASC,2BAA2B,QAAQ,mCAAgC;AAE5E,OAAO,MAAMC,wBAA0E;IACrFC,mBAAmBH;IACnBI,wBAAwBH;IACxBI,sBAAsB,IAAO,CAAA;YAAEC,OAAO;QAAG,CAAA;IACzCC,WAAW,CAACC;QACV,MAAMC,iBAAiBV,eAAeS,KAAKF,KAAK;QAChD,MAAMI,eAAe;eAAI,IAAIC,IAAIF;SAAgB;QACjD,OAAO;YACLG,WAAWF;QACb;IACF;AACF,EAAE"}
@@ -1,6 +1,6 @@
1
- import { OptionsEditorProps } from '@perses-dev/plugin-system';
2
- import { ReactElement } from 'react';
3
- import { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';
1
+ import type { OptionsEditorProps } from '@perses-dev/plugin-system';
2
+ import type { ReactElement } from 'react';
3
+ import type { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';
4
4
  type SplunkQueryEditorProps = OptionsEditorProps<SplunkTimeSeriesQuerySpec>;
5
5
  export declare function SplunkTimeSeriesQueryEditor(props: SplunkQueryEditorProps): ReactElement;
6
6
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"SplunkTimeSeriesQueryEditor.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.tsx"],"names":[],"mappings":"AAaA,OAAO,EAIL,kBAAkB,EAEnB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAErC,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAK7E,KAAK,sBAAsB,GAAG,kBAAkB,CAAC,yBAAyB,CAAC,CAAC;AAE5E,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,sBAAsB,GAAG,YAAY,CAqEvF"}
1
+ {"version":3,"file":"SplunkTimeSeriesQueryEditor.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAyB,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAG3F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAKlF,KAAK,sBAAsB,GAAG,kBAAkB,CAAC,yBAAyB,CAAC,CAAC;AAE5E,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,sBAAsB,GAAG,YAAY,CAqEvF"}
@@ -11,9 +11,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
11
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
- import { DatasourceSelect, isVariableDatasource, useDatasourceSelectValueToSelector } from '@perses-dev/plugin-system';
15
- import { Box, InputLabel, Stack, TextField } from '@mui/material';
16
- import { produce } from 'immer';
14
+ import { Box, InputLabel, Stack, TextField } from "@mui/material";
15
+ import { DatasourceSelect, isVariableDatasource, useDatasourceSelectValueToSelector } from "@perses-dev/plugin-system";
16
+ import { produce } from "immer";
17
17
  const DATASOURCE_KIND = 'SplunkDatasource';
18
18
  const DEFAULT_DATASOURCE = {
19
19
  kind: DATASOURCE_KIND
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.tsx"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport {\n DatasourceSelect,\n DatasourceSelectProps,\n isVariableDatasource,\n OptionsEditorProps,\n useDatasourceSelectValueToSelector,\n} from '@perses-dev/plugin-system';\nimport { Box, InputLabel, Stack, TextField } from '@mui/material';\nimport { ReactElement } from 'react';\nimport { produce } from 'immer';\nimport { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';\n\nconst DATASOURCE_KIND = 'SplunkDatasource';\nconst DEFAULT_DATASOURCE = { kind: DATASOURCE_KIND };\n\ntype SplunkQueryEditorProps = OptionsEditorProps<SplunkTimeSeriesQuerySpec>;\n\nexport function SplunkTimeSeriesQueryEditor(props: SplunkQueryEditorProps): ReactElement {\n const { onChange, value } = props;\n const { datasource, query } = value;\n const datasourceSelectValue = datasource ?? DEFAULT_DATASOURCE;\n const selectedDatasource = useDatasourceSelectValueToSelector(datasourceSelectValue, DATASOURCE_KIND);\n\n const handleDatasourceChange: DatasourceSelectProps['onChange'] = (newDatasourceSelection) => {\n if (!isVariableDatasource(newDatasourceSelection) && newDatasourceSelection.kind === DATASOURCE_KIND) {\n onChange(\n produce(value, (draft) => {\n draft.datasource = newDatasourceSelection;\n })\n );\n return;\n }\n\n throw new Error('Got unexpected non SplunkQuery datasource selection');\n };\n\n const handleQueryChange = (newQuery: string): void => {\n onChange(\n produce(value, (draft) => {\n draft.query = newQuery;\n })\n );\n };\n\n return (\n <Stack spacing={1.5} paddingBottom={1}>\n <Box>\n <InputLabel\n sx={{\n display: 'block',\n marginBottom: '4px',\n fontWeight: 500,\n }}\n >\n Datasource\n </InputLabel>\n <DatasourceSelect\n datasourcePluginKind={DATASOURCE_KIND}\n value={selectedDatasource}\n onChange={handleDatasourceChange}\n label=\"Splunk Datasource\"\n notched\n />\n </Box>\n\n <Box>\n <InputLabel\n sx={{\n display: 'block',\n marginBottom: '4px',\n fontWeight: 500,\n }}\n >\n SPL Query\n </InputLabel>\n <TextField\n fullWidth\n multiline\n rows={4}\n value={query}\n onChange={(e) => handleQueryChange(e.target.value)}\n placeholder=\"search index=main | timechart count\"\n />\n </Box>\n </Stack>\n );\n}\n"],"names":["DatasourceSelect","isVariableDatasource","useDatasourceSelectValueToSelector","Box","InputLabel","Stack","TextField","produce","DATASOURCE_KIND","DEFAULT_DATASOURCE","kind","SplunkTimeSeriesQueryEditor","props","onChange","value","datasource","query","datasourceSelectValue","selectedDatasource","handleDatasourceChange","newDatasourceSelection","draft","Error","handleQueryChange","newQuery","spacing","paddingBottom","sx","display","marginBottom","fontWeight","datasourcePluginKind","label","notched","fullWidth","multiline","rows","e","target","placeholder"],"mappings":";AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SACEA,gBAAgB,EAEhBC,oBAAoB,EAEpBC,kCAAkC,QAC7B,4BAA4B;AACnC,SAASC,GAAG,EAAEC,UAAU,EAAEC,KAAK,EAAEC,SAAS,QAAQ,gBAAgB;AAElE,SAASC,OAAO,QAAQ,QAAQ;AAGhC,MAAMC,kBAAkB;AACxB,MAAMC,qBAAqB;IAAEC,MAAMF;AAAgB;AAInD,OAAO,SAASG,4BAA4BC,KAA6B;IACvE,MAAM,EAAEC,QAAQ,EAAEC,KAAK,EAAE,GAAGF;IAC5B,MAAM,EAAEG,UAAU,EAAEC,KAAK,EAAE,GAAGF;IAC9B,MAAMG,wBAAwBF,cAAcN;IAC5C,MAAMS,qBAAqBhB,mCAAmCe,uBAAuBT;IAErF,MAAMW,yBAA4D,CAACC;QACjE,IAAI,CAACnB,qBAAqBmB,2BAA2BA,uBAAuBV,IAAI,KAAKF,iBAAiB;YACpGK,SACEN,QAAQO,OAAO,CAACO;gBACdA,MAAMN,UAAU,GAAGK;YACrB;YAEF;QACF;QAEA,MAAM,IAAIE,MAAM;IAClB;IAEA,MAAMC,oBAAoB,CAACC;QACzBX,SACEN,QAAQO,OAAO,CAACO;YACdA,MAAML,KAAK,GAAGQ;QAChB;IAEJ;IAEA,qBACE,MAACnB;QAAMoB,SAAS;QAAKC,eAAe;;0BAClC,MAACvB;;kCACC,KAACC;wBACCuB,IAAI;4BACFC,SAAS;4BACTC,cAAc;4BACdC,YAAY;wBACd;kCACD;;kCAGD,KAAC9B;wBACC+B,sBAAsBvB;wBACtBM,OAAOI;wBACPL,UAAUM;wBACVa,OAAM;wBACNC,OAAO;;;;0BAIX,MAAC9B;;kCACC,KAACC;wBACCuB,IAAI;4BACFC,SAAS;4BACTC,cAAc;4BACdC,YAAY;wBACd;kCACD;;kCAGD,KAACxB;wBACC4B,SAAS;wBACTC,SAAS;wBACTC,MAAM;wBACNtB,OAAOE;wBACPH,UAAU,CAACwB,IAAMd,kBAAkBc,EAAEC,MAAM,CAACxB,KAAK;wBACjDyB,aAAY;;;;;;AAKtB"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.tsx"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { Box, InputLabel, Stack, TextField } from '@mui/material';\nimport type { DatasourceSelectProps, OptionsEditorProps } from '@perses-dev/plugin-system';\nimport { DatasourceSelect, isVariableDatasource, useDatasourceSelectValueToSelector } from '@perses-dev/plugin-system';\nimport { produce } from 'immer';\nimport type { ReactElement } from 'react';\n\nimport type { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';\n\nconst DATASOURCE_KIND = 'SplunkDatasource';\nconst DEFAULT_DATASOURCE = { kind: DATASOURCE_KIND };\n\ntype SplunkQueryEditorProps = OptionsEditorProps<SplunkTimeSeriesQuerySpec>;\n\nexport function SplunkTimeSeriesQueryEditor(props: SplunkQueryEditorProps): ReactElement {\n const { onChange, value } = props;\n const { datasource, query } = value;\n const datasourceSelectValue = datasource ?? DEFAULT_DATASOURCE;\n const selectedDatasource = useDatasourceSelectValueToSelector(datasourceSelectValue, DATASOURCE_KIND);\n\n const handleDatasourceChange: DatasourceSelectProps['onChange'] = (newDatasourceSelection) => {\n if (!isVariableDatasource(newDatasourceSelection) && newDatasourceSelection.kind === DATASOURCE_KIND) {\n onChange(\n produce(value, (draft) => {\n draft.datasource = newDatasourceSelection;\n }),\n );\n return;\n }\n\n throw new Error('Got unexpected non SplunkQuery datasource selection');\n };\n\n const handleQueryChange = (newQuery: string): void => {\n onChange(\n produce(value, (draft) => {\n draft.query = newQuery;\n }),\n );\n };\n\n return (\n <Stack spacing={1.5} paddingBottom={1}>\n <Box>\n <InputLabel\n sx={{\n display: 'block',\n marginBottom: '4px',\n fontWeight: 500,\n }}\n >\n Datasource\n </InputLabel>\n <DatasourceSelect\n datasourcePluginKind={DATASOURCE_KIND}\n value={selectedDatasource}\n onChange={handleDatasourceChange}\n label=\"Splunk Datasource\"\n notched\n />\n </Box>\n\n <Box>\n <InputLabel\n sx={{\n display: 'block',\n marginBottom: '4px',\n fontWeight: 500,\n }}\n >\n SPL Query\n </InputLabel>\n <TextField\n fullWidth\n multiline\n rows={4}\n value={query}\n onChange={(e) => handleQueryChange(e.target.value)}\n placeholder=\"search index=main | timechart count\"\n />\n </Box>\n </Stack>\n );\n}\n"],"names":["Box","InputLabel","Stack","TextField","DatasourceSelect","isVariableDatasource","useDatasourceSelectValueToSelector","produce","DATASOURCE_KIND","DEFAULT_DATASOURCE","kind","SplunkTimeSeriesQueryEditor","props","onChange","value","datasource","query","datasourceSelectValue","selectedDatasource","handleDatasourceChange","newDatasourceSelection","draft","Error","handleQueryChange","newQuery","spacing","paddingBottom","sx","display","marginBottom","fontWeight","datasourcePluginKind","label","notched","fullWidth","multiline","rows","e","target","placeholder"],"mappings":";AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAASA,GAAG,EAAEC,UAAU,EAAEC,KAAK,EAAEC,SAAS,QAAQ,gBAAgB;AAElE,SAASC,gBAAgB,EAAEC,oBAAoB,EAAEC,kCAAkC,QAAQ,4BAA4B;AACvH,SAASC,OAAO,QAAQ,QAAQ;AAKhC,MAAMC,kBAAkB;AACxB,MAAMC,qBAAqB;IAAEC,MAAMF;AAAgB;AAInD,OAAO,SAASG,4BAA4BC,KAA6B;IACvE,MAAM,EAAEC,QAAQ,EAAEC,KAAK,EAAE,GAAGF;IAC5B,MAAM,EAAEG,UAAU,EAAEC,KAAK,EAAE,GAAGF;IAC9B,MAAMG,wBAAwBF,cAAcN;IAC5C,MAAMS,qBAAqBZ,mCAAmCW,uBAAuBT;IAErF,MAAMW,yBAA4D,CAACC;QACjE,IAAI,CAACf,qBAAqBe,2BAA2BA,uBAAuBV,IAAI,KAAKF,iBAAiB;YACpGK,SACEN,QAAQO,OAAO,CAACO;gBACdA,MAAMN,UAAU,GAAGK;YACrB;YAEF;QACF;QAEA,MAAM,IAAIE,MAAM;IAClB;IAEA,MAAMC,oBAAoB,CAACC;QACzBX,SACEN,QAAQO,OAAO,CAACO;YACdA,MAAML,KAAK,GAAGQ;QAChB;IAEJ;IAEA,qBACE,MAACtB;QAAMuB,SAAS;QAAKC,eAAe;;0BAClC,MAAC1B;;kCACC,KAACC;wBACC0B,IAAI;4BACFC,SAAS;4BACTC,cAAc;4BACdC,YAAY;wBACd;kCACD;;kCAGD,KAAC1B;wBACC2B,sBAAsBvB;wBACtBM,OAAOI;wBACPL,UAAUM;wBACVa,OAAM;wBACNC,OAAO;;;;0BAIX,MAACjC;;kCACC,KAACC;wBACC0B,IAAI;4BACFC,SAAS;4BACTC,cAAc;4BACdC,YAAY;wBACd;kCACD;;kCAGD,KAAC3B;wBACC+B,SAAS;wBACTC,SAAS;wBACTC,MAAM;wBACNtB,OAAOE;wBACPH,UAAU,CAACwB,IAAMd,kBAAkBc,EAAEC,MAAM,CAACxB,KAAK;wBACjDyB,aAAY;;;;;;AAKtB"}
@@ -1,4 +1,4 @@
1
- import { TimeSeriesQueryPlugin } from '@perses-dev/plugin-system';
2
- import { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';
1
+ import type { TimeSeriesQueryPlugin } from '@perses-dev/plugin-system';
2
+ import type { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';
3
3
  export declare const getSplunkTimeSeriesData: TimeSeriesQueryPlugin<SplunkTimeSeriesQuerySpec>['getTimeSeriesData'];
4
4
  //# sourceMappingURL=get-splunk-time-series-data.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-splunk-time-series-data.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/get-splunk-time-series-data.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,qBAAqB,EAAoB,MAAM,2BAA2B,CAAC;AAMpF,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAyB7E,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,CAAC,yBAAyB,CAAC,CAAC,mBAAmB,CAsEzG,CAAC"}
1
+ {"version":3,"file":"get-splunk-time-series-data.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/get-splunk-time-series-data.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAQvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAyBlF,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,CAAC,yBAAyB,CAAC,CAAC,mBAAmB,CAsEzG,CAAC"}
@@ -10,8 +10,8 @@
10
10
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
- import { replaceVariables } from '@perses-dev/plugin-system';
14
- import { DEFAULT_DATASOURCE } from '../constants';
13
+ import { replaceVariables } from "@perses-dev/plugin-system";
14
+ import { DEFAULT_DATASOURCE } from "../constants.js";
15
15
  function convertResultsToTimeSeries(results) {
16
16
  const resultsArray = Array.isArray(results) ? results : [
17
17
  results
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/get-splunk-time-series-data.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { TimeSeriesQueryPlugin, replaceVariables } from '@perses-dev/plugin-system';\nimport { HTTPAllowedEndpoint, TimeSeries } from '@perses-dev/spec';\nimport { SplunkClient } from '../../model/splunk-client';\nimport { SplunkDatasourceSpec } from '../../datasources/splunk-datasource/splunk-datasource-types';\nimport { DEFAULT_DATASOURCE } from '../constants';\nimport { SplunkJobCreateResponse, SplunkJobStatusResponse, SplunkResultsResponse } from '../../model';\nimport { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';\n\nfunction convertResultsToTimeSeries(\n results: Array<{ _time: string; [key: string]: string | number }> | { _time: string; [key: string]: string | number }\n): TimeSeries[] {\n const resultsArray = Array.isArray(results) ? results : [results];\n\n if (resultsArray.length === 0) return [];\n\n const firstResult = resultsArray[0];\n if (!firstResult) return [];\n\n const metricKeys = Object.keys(firstResult).filter((key) => key !== '_time');\n\n return metricKeys.map((metricKey) => ({\n name: metricKey,\n values: resultsArray.map((result) => {\n const timestamp = new Date(result._time).getTime() / 1000;\n const value = Number(result[metricKey]) || 0;\n return [timestamp, value];\n }),\n labels: { metric: metricKey },\n }));\n}\n\nexport const getSplunkTimeSeriesData: TimeSeriesQueryPlugin<SplunkTimeSeriesQuerySpec>['getTimeSeriesData'] = async (\n spec,\n context\n) => {\n if (!spec.query) {\n return {\n series: [],\n timeRange: { start: context.timeRange.start, end: context.timeRange.end },\n stepMs: 60000, // Default 1 minute\n };\n }\n\n const query = replaceVariables(spec.query, context.variableState);\n const client: SplunkClient = await context.datasourceStore.getDatasourceClient<SplunkClient>(\n spec.datasource ?? DEFAULT_DATASOURCE\n );\n\n const datasourceSpec = await context.datasourceStore.getDatasource(spec.datasource ?? DEFAULT_DATASOURCE);\n const allowedEndpoints: HTTPAllowedEndpoint[] =\n (datasourceSpec.plugin.spec as SplunkDatasourceSpec)?.proxy?.spec?.allowedEndpoints || [];\n\n const hasExportEndpoint = allowedEndpoints.some((ep: HTTPAllowedEndpoint) => ep.endpointPattern?.includes('/export'));\n\n const { start, end } = context.timeRange;\n\n const earliest_time = Math.floor(start.getTime() / 1000).toString();\n const latest_time = Math.floor(end.getTime() / 1000).toString();\n\n let resultsResponse: SplunkResultsResponse;\n\n if (hasExportEndpoint) {\n resultsResponse = await client.exportSearch({\n search: query,\n earliest_time: spec.earliest || earliest_time,\n latest_time: spec.latest || latest_time,\n });\n } else {\n const jobResponse: SplunkJobCreateResponse = await client.createJob({\n search: query,\n earliest_time: spec.earliest || earliest_time,\n latest_time: spec.latest || latest_time,\n });\n\n const jobId: string = jobResponse.sid;\n\n let jobStatus: SplunkJobStatusResponse;\n do {\n await new Promise((resolve) => setTimeout(resolve, 500)); // Wait 500ms between polls\n jobStatus = await client.getJobStatus(jobId);\n if (!jobStatus || !jobStatus.entry?.[0]?.content) {\n console.warn('Failed to get job status or job status response is malformed', { jobStatus });\n break;\n }\n } while (!jobStatus.entry?.[0]?.content?.isDone);\n\n resultsResponse = await client.getJobResults(jobId);\n }\n\n const convertedSeries: TimeSeries[] = convertResultsToTimeSeries(\n resultsResponse.results as Array<{ _time: string; [key: string]: string | number }>\n );\n\n return {\n series: convertedSeries,\n timeRange: { start, end },\n stepMs: context.suggestedStepMs || 60000, // Default 1 minute\n metadata: {\n executedQueryString: query,\n },\n };\n};\n"],"names":["replaceVariables","DEFAULT_DATASOURCE","convertResultsToTimeSeries","results","resultsArray","Array","isArray","length","firstResult","metricKeys","Object","keys","filter","key","map","metricKey","name","values","result","timestamp","Date","_time","getTime","value","Number","labels","metric","getSplunkTimeSeriesData","spec","context","query","series","timeRange","start","end","stepMs","variableState","client","datasourceStore","getDatasourceClient","datasource","datasourceSpec","getDatasource","allowedEndpoints","plugin","proxy","hasExportEndpoint","some","ep","endpointPattern","includes","earliest_time","Math","floor","toString","latest_time","resultsResponse","exportSearch","search","earliest","latest","jobResponse","createJob","jobId","sid","jobStatus","Promise","resolve","setTimeout","getJobStatus","entry","content","console","warn","isDone","getJobResults","convertedSeries","suggestedStepMs","metadata","executedQueryString"],"mappings":"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"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/get-splunk-time-series-data.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport type { TimeSeriesQueryPlugin } from '@perses-dev/plugin-system';\nimport { replaceVariables } from '@perses-dev/plugin-system';\nimport type { HTTPAllowedEndpoint, TimeSeries } from '@perses-dev/spec';\n\nimport type { SplunkDatasourceSpec } from '../../datasources/splunk-datasource/splunk-datasource-types';\nimport type { SplunkJobCreateResponse, SplunkJobStatusResponse, SplunkResultsResponse } from '../../model';\nimport type { SplunkClient } from '../../model/splunk-client';\nimport { DEFAULT_DATASOURCE } from '../constants';\nimport type { SplunkTimeSeriesQuerySpec } from './splunk-time-series-query-types';\n\nfunction convertResultsToTimeSeries(\n results: Array<{ _time: string; [key: string]: string | number }> | { _time: string; [key: string]: string | number },\n): TimeSeries[] {\n const resultsArray = Array.isArray(results) ? results : [results];\n\n if (resultsArray.length === 0) return [];\n\n const firstResult = resultsArray[0];\n if (!firstResult) return [];\n\n const metricKeys = Object.keys(firstResult).filter((key) => key !== '_time');\n\n return metricKeys.map((metricKey) => ({\n name: metricKey,\n values: resultsArray.map((result) => {\n const timestamp = new Date(result._time).getTime() / 1000;\n const value = Number(result[metricKey]) || 0;\n return [timestamp, value];\n }),\n labels: { metric: metricKey },\n }));\n}\n\nexport const getSplunkTimeSeriesData: TimeSeriesQueryPlugin<SplunkTimeSeriesQuerySpec>['getTimeSeriesData'] = async (\n spec,\n context,\n) => {\n if (!spec.query) {\n return {\n series: [],\n timeRange: { start: context.timeRange.start, end: context.timeRange.end },\n stepMs: 60000, // Default 1 minute\n };\n }\n\n const query = replaceVariables(spec.query, context.variableState);\n const client: SplunkClient = await context.datasourceStore.getDatasourceClient<SplunkClient>(\n spec.datasource ?? DEFAULT_DATASOURCE,\n );\n\n const datasourceSpec = await context.datasourceStore.getDatasource(spec.datasource ?? DEFAULT_DATASOURCE);\n const allowedEndpoints: HTTPAllowedEndpoint[] =\n (datasourceSpec.plugin.spec as SplunkDatasourceSpec)?.proxy?.spec?.allowedEndpoints || [];\n\n const hasExportEndpoint = allowedEndpoints.some((ep: HTTPAllowedEndpoint) => ep.endpointPattern?.includes('/export'));\n\n const { start, end } = context.timeRange;\n\n const earliest_time = Math.floor(start.getTime() / 1000).toString();\n const latest_time = Math.floor(end.getTime() / 1000).toString();\n\n let resultsResponse: SplunkResultsResponse;\n\n if (hasExportEndpoint) {\n resultsResponse = await client.exportSearch({\n search: query,\n earliest_time: spec.earliest || earliest_time,\n latest_time: spec.latest || latest_time,\n });\n } else {\n const jobResponse: SplunkJobCreateResponse = await client.createJob({\n search: query,\n earliest_time: spec.earliest || earliest_time,\n latest_time: spec.latest || latest_time,\n });\n\n const jobId: string = jobResponse.sid;\n\n let jobStatus: SplunkJobStatusResponse;\n do {\n await new Promise((resolve) => setTimeout(resolve, 500)); // Wait 500ms between polls\n jobStatus = await client.getJobStatus(jobId);\n if (!jobStatus || !jobStatus.entry?.[0]?.content) {\n console.warn('Failed to get job status or job status response is malformed', { jobStatus });\n break;\n }\n } while (!jobStatus.entry?.[0]?.content?.isDone);\n\n resultsResponse = await client.getJobResults(jobId);\n }\n\n const convertedSeries: TimeSeries[] = convertResultsToTimeSeries(\n resultsResponse.results as Array<{ _time: string; [key: string]: string | number }>,\n );\n\n return {\n series: convertedSeries,\n timeRange: { start, end },\n stepMs: context.suggestedStepMs || 60000, // Default 1 minute\n metadata: {\n executedQueryString: query,\n },\n };\n};\n"],"names":["replaceVariables","DEFAULT_DATASOURCE","convertResultsToTimeSeries","results","resultsArray","Array","isArray","length","firstResult","metricKeys","Object","keys","filter","key","map","metricKey","name","values","result","timestamp","Date","_time","getTime","value","Number","labels","metric","getSplunkTimeSeriesData","spec","context","query","series","timeRange","start","end","stepMs","variableState","client","datasourceStore","getDatasourceClient","datasource","datasourceSpec","getDatasource","allowedEndpoints","plugin","proxy","hasExportEndpoint","some","ep","endpointPattern","includes","earliest_time","Math","floor","toString","latest_time","resultsResponse","exportSearch","search","earliest","latest","jobResponse","createJob","jobId","sid","jobStatus","Promise","resolve","setTimeout","getJobStatus","entry","content","console","warn","isDone","getJobResults","convertedSeries","suggestedStepMs","metadata","executedQueryString"],"mappings":"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"}
@@ -10,9 +10,9 @@
10
10
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
- export * from './get-splunk-time-series-data';
14
- export * from './SplunkTimeSeriesQuery';
15
- export * from './SplunkTimeSeriesQueryEditor';
16
- export * from './splunk-time-series-query-types';
13
+ export * from "./get-splunk-time-series-data.js";
14
+ export * from "./SplunkTimeSeriesQuery.js";
15
+ export * from "./SplunkTimeSeriesQueryEditor.js";
16
+ export * from "./splunk-time-series-query-types.js";
17
17
 
18
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/index.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport * from './get-splunk-time-series-data';\nexport * from './SplunkTimeSeriesQuery';\nexport * from './SplunkTimeSeriesQueryEditor';\nexport * from './splunk-time-series-query-types';\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,cAAc,gCAAgC;AAC9C,cAAc,0BAA0B;AACxC,cAAc,gCAAgC;AAC9C,cAAc,mCAAmC"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/index.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport * from './get-splunk-time-series-data';\nexport * from './SplunkTimeSeriesQuery';\nexport * from './SplunkTimeSeriesQueryEditor';\nexport * from './splunk-time-series-query-types';\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,cAAc,mCAAgC;AAC9C,cAAc,6BAA0B;AACxC,cAAc,mCAAgC;AAC9C,cAAc,sCAAmC"}
@@ -1,5 +1,5 @@
1
- import { DatasourceSelector } from '@perses-dev/spec';
2
- import { SplunkTimeSeriesResults } from '../../model/splunk-client-types';
1
+ import type { DatasourceSelector } from '@perses-dev/spec';
2
+ import type { SplunkTimeSeriesResults } from '../../model/splunk-client-types';
3
3
  export interface SplunkTimeSeriesQuerySpec {
4
4
  query: string;
5
5
  datasource?: DatasourceSelector;
@@ -1 +1 @@
1
- {"version":3,"file":"splunk-time-series-query-types.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/splunk-time-series-query-types.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,6BAA6B,GAAG,uBAAuB,CAAC"}
1
+ {"version":3,"file":"splunk-time-series-query-types.d.ts","sourceRoot":"","sources":["../../../../src/queries/splunk-time-series-query/splunk-time-series-query-types.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE/E,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,6BAA6B,GAAG,uBAAuB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/splunk-time-series-query-types.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { DatasourceSelector } from '@perses-dev/spec';\nimport { SplunkTimeSeriesResults } from '../../model/splunk-client-types';\n\nexport interface SplunkTimeSeriesQuerySpec {\n query: string;\n datasource?: DatasourceSelector;\n earliest?: string;\n latest?: string;\n}\n\nexport type SplunkTimeSeriesQueryResponse = SplunkTimeSeriesResults;\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAYjC,WAAoE"}
1
+ {"version":3,"sources":["../../../../src/queries/splunk-time-series-query/splunk-time-series-query-types.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport type { DatasourceSelector } from '@perses-dev/spec';\n\nimport type { SplunkTimeSeriesResults } from '../../model/splunk-client-types';\n\nexport interface SplunkTimeSeriesQuerySpec {\n query: string;\n datasource?: DatasourceSelector;\n earliest?: string;\n latest?: string;\n}\n\nexport type SplunkTimeSeriesQueryResponse = SplunkTimeSeriesResults;\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAajC,WAAoE"}
@@ -1,2 +1,2 @@
1
- import '@testing-library/jest-dom';
1
+ import '@testing-library/jest-dom/vitest';
2
2
  //# sourceMappingURL=setup-tests.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setup-tests.d.ts","sourceRoot":"","sources":["../../src/setup-tests.ts"],"names":[],"mappings":"AAaA,OAAO,2BAA2B,CAAC"}
1
+ {"version":3,"file":"setup-tests.d.ts","sourceRoot":"","sources":["../../src/setup-tests.ts"],"names":[],"mappings":"AAaA,OAAO,kCAAkC,CAAC"}
@@ -10,8 +10,8 @@
10
10
  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
- import '@testing-library/jest-dom';
13
+ import "@testing-library/jest-dom/vitest";
14
14
  // Always mock e-charts during tests since we don't have a proper canvas in jsdom
15
- jest.mock('echarts/core');
15
+ vi.mock('echarts/core');
16
16
 
17
17
  //# sourceMappingURL=setup-tests.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/setup-tests.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport '@testing-library/jest-dom';\n\n// Always mock e-charts during tests since we don't have a proper canvas in jsdom\njest.mock('echarts/core');\n"],"names":["jest","mock"],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO,4BAA4B;AAEnC,iFAAiF;AACjFA,KAAKC,IAAI,CAAC"}
1
+ {"version":3,"sources":["../../src/setup-tests.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport '@testing-library/jest-dom/vitest';\n\n// Always mock e-charts during tests since we don't have a proper canvas in jsdom\nvi.mock('echarts/core');\n"],"names":["vi","mock"],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO,mCAAmC;AAE1C,iFAAiF;AACjFA,GAAGC,IAAI,CAAC"}
package/mf-manifest.json CHANGED
@@ -5,11 +5,11 @@
5
5
  "name": "Splunk",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "0.1.0",
8
+ "buildVersion": "0.2.0-beta.2",
9
9
  "buildName": "@perses-dev/splunk-plugin"
10
10
  },
11
11
  "remoteEntry": {
12
- "name": "__mf/js/Splunk.6f71e9ce.js",
12
+ "name": "__mf/js/Splunk.98b2d5ad.js",
13
13
  "path": "",
14
14
  "type": "global"
15
15
  },
@@ -19,28 +19,28 @@
19
19
  "zip": "",
20
20
  "api": ""
21
21
  },
22
- "globalName": "Splunk",
22
+ "globalName": "Splunk_0_2_0_beta_2",
23
23
  "pluginVersion": "2.6.0",
24
- "getPublicPath": "function() { const prefix = window.PERSES_PLUGIN_ASSETS_PATH || window.PERSES_APP_CONFIG?.api_prefix || \"\"; return prefix + \"/plugins/Splunk/\"; }"
24
+ "getPublicPath": "function() { const prefix = window.PERSES_PLUGIN_ASSETS_PATH || window.PERSES_APP_CONFIG?.api_prefix || \"\"; return prefix + \"/plugins/Splunk~0.2.0-beta.2/\"; }"
25
25
  },
26
26
  "shared": [
27
27
  {
28
28
  "id": "Splunk:@perses-dev/components",
29
29
  "name": "@perses-dev/components",
30
- "version": "0.54.0",
30
+ "version": "0.55.0-beta.7",
31
31
  "singleton": true,
32
- "requiredVersion": "^0.54.0",
32
+ "requiredVersion": "^0.55.0-beta.7",
33
33
  "assets": {
34
34
  "js": {
35
35
  "async": [],
36
36
  "sync": [
37
- "__mf/js/async/116.9f39e2dc.js"
37
+ "__mf/js/async/788.e519d52f.js"
38
38
  ]
39
39
  },
40
40
  "css": {
41
41
  "async": [],
42
42
  "sync": [
43
- "__mf/css/async/116.85c2cbf6.css"
43
+ "__mf/css/async/788.85c2cbf6.css"
44
44
  ]
45
45
  }
46
46
  },
@@ -49,14 +49,14 @@
49
49
  {
50
50
  "id": "Splunk:@perses-dev/plugin-system",
51
51
  "name": "@perses-dev/plugin-system",
52
- "version": "0.54.0",
52
+ "version": "0.55.0-beta.7",
53
53
  "singleton": true,
54
- "requiredVersion": "^0.54.0",
54
+ "requiredVersion": "^0.55.0-beta.7",
55
55
  "assets": {
56
56
  "js": {
57
57
  "async": [],
58
58
  "sync": [
59
- "__mf/js/async/756.8162c322.js"
59
+ "__mf/js/async/874.496bb61a.js"
60
60
  ]
61
61
  },
62
62
  "css": {
@@ -76,7 +76,7 @@
76
76
  "js": {
77
77
  "async": [],
78
78
  "sync": [
79
- "__mf/js/async/963.0f837958.js"
79
+ "__mf/js/async/963.4c102cc8.js"
80
80
  ]
81
81
  },
82
82
  "css": {
@@ -96,7 +96,7 @@
96
96
  "js": {
97
97
  "async": [],
98
98
  "sync": [
99
- "__mf/js/async/121.0ceb8113.js"
99
+ "__mf/js/async/121.cd990f2a.js"
100
100
  ]
101
101
  },
102
102
  "css": {
@@ -115,24 +115,30 @@
115
115
  "assets": {
116
116
  "js": {
117
117
  "sync": [
118
- "__mf/js/async/842.601cf14f.js",
119
- "__mf/js/async/537.880623e7.js",
120
- "__mf/js/async/__federation_expose_SplunkDatasource.b9438a9e.js"
118
+ "__mf/js/async/__federation_expose_SplunkDatasource.5b9ca25b.js"
121
119
  ],
122
120
  "async": [
123
- "__mf/js/async/lib-router.31611676.js",
124
- "__mf/js/async/470.e7f915b7.js",
125
- "__mf/js/async/982.e5647ac8.js",
126
- "__mf/js/async/__federation_expose_SplunkTimeSeriesQuery.264a58b9.js",
127
- "__mf/js/async/__federation_expose_SplunkLogQuery.8d011abe.js",
128
- "__mf/js/async/332.fc51c4d5.js",
129
- "__mf/js/async/558.db2f2486.js"
121
+ "__mf/js/async/lib-router.02ac6b0e.js",
122
+ "__mf/js/async/470.39364cc9.js",
123
+ "__mf/js/async/982.8181aade.js",
124
+ "__mf/js/async/__federation_expose_SplunkTimeSeriesQuery.62f3d6f2.js",
125
+ "__mf/js/async/__federation_expose_SplunkLogQuery.5e35f21f.js",
126
+ "__mf/js/async/879.ab41564d.js",
127
+ "__mf/js/async/967.49cac6cc.js",
128
+ "__mf/js/async/43.c13dea67.js",
129
+ "__mf/js/async/392.54d1105e.js",
130
+ "__mf/js/async/882.0bb195b0.js",
131
+ "__mf/js/async/873.84546c86.js",
132
+ "__mf/js/async/230.28ff3a01.js",
133
+ "__mf/js/async/978.1b184143.js",
134
+ "__mf/js/async/77.d9722d64.js",
135
+ "__mf/js/async/496.5533cf13.js"
130
136
  ]
131
137
  },
132
138
  "css": {
133
139
  "sync": [],
134
140
  "async": [
135
- "__mf/css/async/116.85c2cbf6.css"
141
+ "__mf/css/async/788.85c2cbf6.css"
136
142
  ]
137
143
  }
138
144
  },
@@ -144,23 +150,28 @@
144
150
  "assets": {
145
151
  "js": {
146
152
  "sync": [
147
- "__mf/js/async/470.e7f915b7.js",
148
- "__mf/js/async/982.e5647ac8.js",
149
- "__mf/js/async/__federation_expose_SplunkTimeSeriesQuery.264a58b9.js"
153
+ "__mf/js/async/470.39364cc9.js",
154
+ "__mf/js/async/982.8181aade.js",
155
+ "__mf/js/async/__federation_expose_SplunkTimeSeriesQuery.62f3d6f2.js"
150
156
  ],
151
157
  "async": [
152
- "__mf/js/async/lib-router.31611676.js",
153
- "__mf/js/async/842.601cf14f.js",
154
- "__mf/js/async/537.880623e7.js",
155
- "__mf/js/async/__federation_expose_SplunkDatasource.b9438a9e.js",
156
- "__mf/js/async/332.fc51c4d5.js",
157
- "__mf/js/async/558.db2f2486.js"
158
+ "__mf/js/async/lib-router.02ac6b0e.js",
159
+ "__mf/js/async/879.ab41564d.js",
160
+ "__mf/js/async/967.49cac6cc.js",
161
+ "__mf/js/async/43.c13dea67.js",
162
+ "__mf/js/async/392.54d1105e.js",
163
+ "__mf/js/async/882.0bb195b0.js",
164
+ "__mf/js/async/873.84546c86.js",
165
+ "__mf/js/async/230.28ff3a01.js",
166
+ "__mf/js/async/978.1b184143.js",
167
+ "__mf/js/async/77.d9722d64.js",
168
+ "__mf/js/async/496.5533cf13.js"
158
169
  ]
159
170
  },
160
171
  "css": {
161
172
  "sync": [],
162
173
  "async": [
163
- "__mf/css/async/116.85c2cbf6.css"
174
+ "__mf/css/async/788.85c2cbf6.css"
164
175
  ]
165
176
  }
166
177
  },
@@ -172,23 +183,28 @@
172
183
  "assets": {
173
184
  "js": {
174
185
  "sync": [
175
- "__mf/js/async/470.e7f915b7.js",
176
- "__mf/js/async/982.e5647ac8.js",
177
- "__mf/js/async/__federation_expose_SplunkLogQuery.8d011abe.js"
186
+ "__mf/js/async/470.39364cc9.js",
187
+ "__mf/js/async/982.8181aade.js",
188
+ "__mf/js/async/__federation_expose_SplunkLogQuery.5e35f21f.js"
178
189
  ],
179
190
  "async": [
180
- "__mf/js/async/lib-router.31611676.js",
181
- "__mf/js/async/842.601cf14f.js",
182
- "__mf/js/async/537.880623e7.js",
183
- "__mf/js/async/__federation_expose_SplunkDatasource.b9438a9e.js",
184
- "__mf/js/async/332.fc51c4d5.js",
185
- "__mf/js/async/558.db2f2486.js"
191
+ "__mf/js/async/lib-router.02ac6b0e.js",
192
+ "__mf/js/async/879.ab41564d.js",
193
+ "__mf/js/async/967.49cac6cc.js",
194
+ "__mf/js/async/43.c13dea67.js",
195
+ "__mf/js/async/392.54d1105e.js",
196
+ "__mf/js/async/882.0bb195b0.js",
197
+ "__mf/js/async/873.84546c86.js",
198
+ "__mf/js/async/230.28ff3a01.js",
199
+ "__mf/js/async/978.1b184143.js",
200
+ "__mf/js/async/77.d9722d64.js",
201
+ "__mf/js/async/496.5533cf13.js"
186
202
  ]
187
203
  },
188
204
  "css": {
189
205
  "sync": [],
190
206
  "async": [
191
- "__mf/css/async/116.85c2cbf6.css"
207
+ "__mf/css/async/788.85c2cbf6.css"
192
208
  ]
193
209
  }
194
210
  },