Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. {
  2. "dataSchema": {
  3. "metricsSpec": [
  4. {
  5. "name": "count",
  6. "type": "count"
  7. },
  8. {
  9. "fieldName": "byte_count",
  10. "name": "Byte count",
  11. "type": "count"
  12. },
  13. {
  14. "fieldName": "pkt_count",
  15. "name": "Packet count",
  16. "type": "count"
  17. }
  18. ],
  19. "parser": {
  20. "parseSpec": {
  21. "dimensionsSpec": {
  22. "dimensions": [
  23. "agent_id",
  24. "intent_id",
  25. "concrete_policy_id",
  26. "hostname",
  27. "npc_version",
  28. "concrete_policy_order_id"
  29. ]
  30. },
  31. "columns": [
  32. "agent_id",
  33. "intent_id",
  34. "concrete_policy_id",
  35. "hostname",
  36. "npc_version",
  37. "concrete_policy_order_id",
  38. "pkt_count",
  39. "byte_count"
  40. ],
  41. "format": "csv",
  42. "timestampSpec": {
  43. "column": "timestamp",
  44. "format": "iso"
  45. }
  46. },
  47. "type": "string"
  48. },
  49. "granularitySpec": {
  50. "intervals": [
  51.  
  52. ],
  53. "segmentGranularity": "",
  54. "queryGranularity": "",
  55. "type": "uniform"
  56. },
  57. "dataSource": ""
  58. },
  59. "ioConfig": {
  60. "segmentOutputPath": "hdfs://NAMENODE:8020/user/druid/deepStorage_DRUIDINSTANCE",
  61. "inputSpec": {
  62. "paths": "hdfs://NAMENODE:8020",
  63. "type": "static"
  64. },
  65. "metadataUpdateSpec": {
  66. "segmentTable": "druid_DRUIDINSTANCE_segments",
  67. "password": "diurd",
  68. "connectURI": "jdbc:postgresql://POSTGREHOST:5432/druid",
  69. "type": "postgresql",
  70. "user": "druid"
  71. },
  72. "type": "hadoop"
  73. },
  74. "tuningConfig": {
  75. "jobProperties": {
  76. "mapred.max.split.size": 269221888,
  77. "mapreduce.job.queuename": "QUEUE"
  78. },
  79. "jarClassPath": "/user/druid/druid_indexer_DRUIDINSTANCE",
  80. "combineText": true,
  81. "workingPath": "/user/druid/druid_indexer_DRUIDINSTANCE/",
  82. "rowFlushBoundary": 500000,
  83. "type": "hadoop",
  84. "bufferSize": 1084227584
  85. }
  86. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement