Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.61 KB | None | 0 0
  1. {
  2. "order": 0,
  3. "template": "metrics-spark-*",
  4. "settings": {
  5. "index": {
  6. "number_of_shards": "3",
  7. "number_of_replicas": "1",
  8. "refresh_interval": "15s"
  9. }
  10. },
  11. "mappings": {
  12. "_default_": {
  13. "dynamic_templates": [
  14. {
  15. "jvm heap, non-heap and other usages (they all should be float numbers)": {
  16. "mapping": {
  17. "index": "not_analyzed",
  18. "omit_norms": true,
  19. "type": "float"
  20. },
  21. "match_mapping_type": "string",
  22. "match": "jvm.*.usage"
  23. }
  24. },
  25. {
  26. "all times are in milliseconds, so should be longs": {
  27. "mapping": {
  28. "index": "not_analyzed",
  29. "omit_norms": true,
  30. "type": "integer"
  31. },
  32. "match_mapping_type": "string",
  33. "match": "*Time"
  34. }
  35. },
  36. {
  37. "DAGScheduler metrics and percentiles (should be float numbers)": {
  38. "mapping": {
  39. "index": "not_analyzed",
  40. "omit_norms": true,
  41. "type": "float"
  42. },
  43. "match_mapping_type": "string",
  44. "match": "DAGScheduler.*"
  45. }
  46. }
  47. ],
  48. "_all": {
  49. "omit_norms": true,
  50. "enabled": true
  51. },
  52. "properties": {
  53. "worker_id": {
  54. "index": "not_analyzed", "type": "string"
  55. },
  56. "app_name": {
  57. "index": "not_analyzed", "type": "string"
  58. },
  59. "app_executor_id": {
  60. "index": "not_analyzed", "type": "string"
  61. },
  62. "metric_type": {
  63. "index": "not_analyzed", "type": "string"
  64. },
  65. "host": {
  66. "index": "not_analyzed", "type": "string"
  67. },
  68. "app_id": {
  69. "index": "not_analyzed", "type": "string"
  70. },
  71. "streaming.lastCompletedBatch_schedulingDelay": {
  72. "type": "integer", "index": "not_analyzed"
  73. },
  74. "jvm.PS-MarkSweep.time": {
  75. "type": "integer", "index": "not_analyzed"
  76. },
  77. "jvm.heap.used": {
  78. "type": "integer", "index": "not_analyzed"
  79. },
  80. "jvm.pools.Metaspace.max": {
  81. "type": "integer", "index": "not_analyzed"
  82. },
  83. "worker.executors": {
  84. "type": "integer", "index": "not_analyzed"
  85. },
  86. "runtime_ms": {
  87. "type": "integer", "index": "not_analyzed"
  88. },
  89. "streaming.runningBatches": {
  90. "type": "integer", "index": "not_analyzed"
  91. },
  92. "executor.filesystem.hdfs.write_bytes": {
  93. "type": "integer", "index": "not_analyzed"
  94. },
  95. "executor.threadpool.maxPool_size": {
  96. "type": "integer", "index": "not_analyzed"
  97. },
  98. "jvm.pools.PS-Old-Gen.max": {
  99. "type": "integer", "index": "not_analyzed"
  100. },
  101. "jvm.pools.PS-Survivor-Space.committed": {
  102. "type": "integer", "index": "not_analyzed"
  103. },
  104. "jvm.pools.PS-Old-Gen.used": {
  105. "type": "integer", "index": "not_analyzed"
  106. },
  107. "master.waitingApps": {
  108. "type": "integer", "index": "not_analyzed"
  109. },
  110. "jvm.non-heap.committed": {
  111. "type": "integer", "index": "not_analyzed"
  112. },
  113. "jvm.pools.PS-Eden-Space.max": {
  114. "type": "integer", "index": "not_analyzed"
  115. },
  116. "jvm.pools.PS-Survivor-Space.used": {
  117. "type": "integer", "index": "not_analyzed"
  118. },
  119. "cores": {
  120. "type": "integer", "index": "not_analyzed"
  121. },
  122. "streaming.lastCompletedBatch_totalDelay": {
  123. "type": "integer", "index": "not_analyzed"
  124. },
  125. "streaming.retainedCompletedBatches": {
  126. "type": "integer", "index": "not_analyzed"
  127. },
  128. "executor.filesystem.hdfs.read_ops": {
  129. "type": "integer", "index": "not_analyzed"
  130. },
  131. "jvm.pools.PS-Eden-Space.init": {
  132. "type": "integer", "index": "not_analyzed"
  133. },
  134. "jvm.pools.PS-Survivor-Space.init": {
  135. "type": "integer", "index": "not_analyzed"
  136. },
  137. "jvm.total.max": {
  138. "type": "integer", "index": "not_analyzed"
  139. },
  140. "jvm.pools.Code-Cache.committed": {
  141. "type": "integer", "index": "not_analyzed"
  142. },
  143. "executor.threadpool.completeTasks": {
  144. "type": "integer", "index": "not_analyzed"
  145. },
  146. "jvm.non-heap.max": {
  147. "type": "integer", "index": "not_analyzed"
  148. },
  149. "executor.filesystem.hdfs.largeRead_ops": {
  150. "type": "integer", "index": "not_analyzed"
  151. },
  152. "jvm.pools.Metaspace.committed": {
  153. "type": "integer", "index": "not_analyzed"
  154. },
  155. "worker.memUsed_MB": {
  156. "type": "integer", "index": "not_analyzed"
  157. },
  158. "DAGScheduler.stage.runningStages": {
  159. "type": "integer", "index": "not_analyzed"
  160. },
  161. "jvm.heap.init": {
  162. "type": "integer", "index": "not_analyzed"
  163. },
  164. "jvm.total.used": {
  165. "type": "integer", "index": "not_analyzed"
  166. },
  167. "worker.coresUsed": {
  168. "type": "integer", "index": "not_analyzed"
  169. },
  170. "jvm.heap.max": {
  171. "type": "integer", "index": "not_analyzed"
  172. },
  173. "master.aliveWorkers": {
  174. "type": "integer", "index": "not_analyzed"
  175. },
  176. "streaming.lastCompletedBatch_processingDelay": {
  177. "type": "integer", "index": "not_analyzed"
  178. },
  179. "streaming.totalProcessedRecords": {
  180. "type": "integer", "index": "not_analyzed"
  181. },
  182. "executor.filesystem.file.write_bytes": {
  183. "type": "integer", "index": "not_analyzed"
  184. },
  185. "jvm.pools.Code-Cache.used": {
  186. "type": "integer", "index": "not_analyzed"
  187. },
  188. "streaming.receivers": {
  189. "type": "integer", "index": "not_analyzed"
  190. },
  191. "executor.threadpool.activeTasks": {
  192. "type": "integer", "index": "not_analyzed"
  193. },
  194. "executor.threadpool.currentPool_size": {
  195. "type": "integer", "index": "not_analyzed"
  196. },
  197. "jvm.pools.Compressed-Class-Space.committed": {
  198. "type": "integer", "index": "not_analyzed"
  199. },
  200. "BlockManager.memory.maxMem_MB": {
  201. "type": "integer", "index": "not_analyzed"
  202. },
  203. "worker.memFree_MB": {
  204. "type": "integer", "index": "not_analyzed"
  205. },
  206. "streaming.lastReceivedBatch_records": {
  207. "type": "integer", "index": "not_analyzed"
  208. },
  209. "jvm.pools.PS-Eden-Space.used": {
  210. "type": "integer", "index": "not_analyzed"
  211. },
  212. "jvm.pools.Metaspace.used": {
  213. "type": "integer", "index": "not_analyzed"
  214. },
  215. "executor.filesystem.file.largeRead_ops": {
  216. "type": "integer", "index": "not_analyzed"
  217. },
  218. "streaming.waitingBatches": {
  219. "type": "integer", "index": "not_analyzed"
  220. },
  221. "app_executor_id": {
  222. "type": "integer", "index": "not_analyzed"
  223. },
  224. "jvm.pools.Compressed-Class-Space.init": {
  225. "type": "integer", "index": "not_analyzed"
  226. },
  227. "DAGScheduler.stage.waitingStages": {
  228. "type": "integer", "index": "not_analyzed"
  229. },
  230. "executor.filesystem.file.read_bytes": {
  231. "type": "integer", "index": "not_analyzed"
  232. },
  233. "jvm.heap.committed": {
  234. "type": "integer", "index": "not_analyzed"
  235. },
  236. "streaming.totalReceivedRecords": {
  237. "type": "integer", "index": "not_analyzed"
  238. },
  239. "BlockManager.disk.diskSpaceUsed_MB": {
  240. "type": "integer", "index": "not_analyzed"
  241. },
  242. "jvm.total.init": {
  243. "type": "integer", "index": "not_analyzed"
  244. },
  245. "jvm.PS-MarkSweep.count": {
  246. "type": "integer", "index": "not_analyzed"
  247. },
  248. "jvm.non-heap.init": {
  249. "type": "integer", "index": "not_analyzed"
  250. },
  251. "@version": {
  252. "type": "integer", "index": "not_analyzed"
  253. },
  254. "executor.filesystem.hdfs.read_bytes": {
  255. "type": "integer", "index": "not_analyzed"
  256. },
  257. "worker.coresFree": {
  258. "type": "integer", "index": "not_analyzed"
  259. },
  260. "jvm.pools.PS-Old-Gen.init": {
  261. "type": "integer", "index": "not_analyzed"
  262. },
  263. "DAGScheduler.stage.failedStages": {
  264. "type": "integer", "index": "not_analyzed"
  265. },
  266. "jvm.pools.PS-Survivor-Space.max": {
  267. "type": "integer", "index": "not_analyzed"
  268. },
  269. "DAGScheduler.job.allJobs": {
  270. "type": "integer", "index": "not_analyzed"
  271. },
  272. "jvm.total.committed": {
  273. "type": "integer", "index": "not_analyzed"
  274. },
  275. "jvm.pools.PS-Old-Gen.committed": {
  276. "type": "integer", "index": "not_analyzed"
  277. },
  278. "jvm.pools.Metaspace.init": {
  279. "type": "integer", "index": "not_analyzed"
  280. },
  281. "DAGScheduler.job.activeJobs": {
  282. "type": "integer", "index": "not_analyzed"
  283. },
  284. "jvm.pools.Compressed-Class-Space.used": {
  285. "type": "integer", "index": "not_analyzed"
  286. },
  287. "streaming.unprocessedBatches": {
  288. "type": "integer", "index": "not_analyzed"
  289. },
  290. "executor.filesystem.file.read_ops": {
  291. "type": "integer", "index": "not_analyzed"
  292. },
  293. "executor.filesystem.file.write_ops": {
  294. "type": "integer", "index": "not_analyzed"
  295. },
  296. "jvm.non-heap.used": {
  297. "type": "integer", "index": "not_analyzed"
  298. },
  299. "streaming.totalCompletedBatches": {
  300. "type": "integer", "index": "not_analyzed"
  301. },
  302. "jvm.PS-Scavenge.count": {
  303. "type": "integer", "index": "not_analyzed"
  304. },
  305. "BlockManager.memory.memUsed_MB": {
  306. "type": "integer", "index": "not_analyzed"
  307. },
  308. "jvm.pools.Compressed-Class-Space.max": {
  309. "type": "integer", "index": "not_analyzed"
  310. },
  311. "master.apps": {
  312. "type": "integer", "index": "not_analyzed"
  313. },
  314. "jvm.pools.Code-Cache.init": {
  315. "type": "integer", "index": "not_analyzed"
  316. },
  317. "@timestamp": {
  318. "format": "strict_date_optional_time||epoch_millis",
  319. "type": "date"
  320. },
  321. "executor.filesystem.hdfs.write_ops": {
  322. "type": "integer", "index": "not_analyzed"
  323. },
  324. "jvm.pools.PS-Eden-Space.committed": {
  325. "type": "integer", "index": "not_analyzed"
  326. },
  327. "BlockManager.memory.remainingMem_MB": {
  328. "type": "integer", "index": "not_analyzed"
  329. },
  330. "DAGScheduler.messageProcessingTime.count": {
  331. "type": "integer", "index": "not_analyzed"
  332. },
  333. "master.workers": {
  334. "type": "integer", "index": "not_analyzed"
  335. },
  336. "jvm.pools.Code-Cache.max": {
  337. "type": "integer", "index": "not_analyzed"
  338. },
  339. "jvm.PS-Scavenge.time": {
  340. "type": "integer", "index": "not_analyzed"
  341. }
  342. }
  343. }
  344. },
  345. "aliases": {}
  346. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement