Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.02 KB | None | 0 0
  1. body = [
  2. {
  3. "measurement": "workflows",
  4. "tags": {
  5. 'trx_id': "abcd1234",
  6. 'work_id': "1",
  7. 'customer_id': "1",
  8. 'state': 'processed',
  9. 'phase': 'enter',
  10. 'attempts': 0,
  11. 'additional': 'null',
  12. 'name': 'outbound_hl7'
  13. },
  14. "time": "2010-01-10T23:00:00.13Z",
  15. "fields": {
  16. "msg": "processed"
  17. }
  18. },
  19. {
  20. "measurement": "workflows",
  21. "tags": {
  22. 'trx_id': "abcd1234",
  23. 'work_id': "1",
  24. 'customer_id': "1",
  25. 'state': 'send',
  26. 'phase': 'enter',
  27. 'attempts': 0,
  28. 'additional': 'null',
  29. 'name': 'outbound_hl7'
  30. },
  31. "time": "2014-10-10T23:00:00.13Z",
  32. "fields": {
  33. "msg": "send"
  34. }
  35. },
  36. {
  37. "measurement": "workflows",
  38. "tags": {
  39. 'trx_id': "abcd1234",
  40. 'work_id': "1",
  41. 'customer_id': "1",
  42. 'state': 'error',
  43. 'phase': 'enter',
  44. 'attempts': 0,
  45. 'additional': 'null',
  46. 'name': 'outbound_hl7'
  47. },
  48. "time": "2015-01-10T23:00:00.13Z",
  49. "fields": {
  50. "msg": "error"
  51. }
  52. },
  53. {
  54. "measurement": "workflows",
  55. "tags": {
  56. 'trx_id': "asdfasdf",
  57. 'work_id': "2",
  58. 'customer_id': "2",
  59. 'state': 'send',
  60. 'phase': 'enter',
  61. 'attempts': 0,
  62. 'additional': 'null',
  63. 'name': 'outbound_hl7'
  64. },
  65. "time": "2010-02-10T23:00:00.13Z",
  66. "fields": {
  67. "msg": "send"
  68. }
  69. },
  70. {
  71. "measurement": "workflows",
  72. "tags": {
  73. 'trx_id': "asdfasdf",
  74. 'work_id': "2",
  75. 'customer_id': "2",
  76. 'state': 'processed',
  77. 'phase': 'enter',
  78. 'attempts': 0,
  79. 'additional': 'null',
  80. 'name': 'outbound_hl7'
  81. },
  82. "time": "2015-09-10T23:00:00.13Z",
  83. "fields": {
  84. "msg": "processed"
  85. }
  86. },
  87. {
  88. "measurement": "workflows",
  89. "tags": {
  90. 'trx_id': "asdfasdf",
  91. 'work_id': "2",
  92. 'customer_id': "2",
  93. 'state': 'error',
  94. 'phase': 'enter',
  95. 'attempts': 0,
  96. 'additional': 'null',
  97. 'name': 'outbound_hl7'
  98. },
  99. "time": "2016-10-10T23:00:00.13Z",
  100. "fields": {
  101. "msg": "error"
  102. }
  103. },
  104. {
  105. "measurement": "workflows",
  106. "tags": {
  107. 'trx_id': "abcd1234",
  108. 'work_id': "3",
  109. 'customer_id': "1",
  110. 'state': 'processed',
  111. 'phase': 'enter',
  112. 'attempts': 0,
  113. 'additional': 'null',
  114. 'name': 'outbound_hl7'
  115. },
  116. "time": "2010-03-10T23:00:00.13Z",
  117. "fields": {
  118. "msg": "processed"
  119. }
  120. },
  121. {
  122. "measurement": "workflows",
  123. "tags": {
  124. 'trx_id': "abcd1234",
  125. 'work_id': "3",
  126. 'customer_id': "1",
  127. 'state': 'send',
  128. 'phase': 'enter',
  129. 'attempts': 0,
  130. 'additional': 'null',
  131. 'name': 'dicom'
  132. },
  133. "time": "2014-08-10T23:00:00.13Z",
  134. "fields": {
  135. "msg": "send"
  136. }
  137. },
  138. {
  139. "measurement": "workflows",
  140. "tags": {
  141. 'trx_id': "abcd1234",
  142. 'work_id': "3",
  143. 'customer_id': "1",
  144. 'state': 'render',
  145. 'phase': 'enter',
  146. 'attempts': 0,
  147. 'additional': 'null',
  148. 'name': 'dicom'
  149. },
  150. "time": "2015-02-10T23:00:00.13Z",
  151. "fields": {
  152. "msg": "render"
  153. }
  154. },
  155. {
  156. "measurement": "workflows",
  157. "tags": {
  158. 'trx_id': "asdfasdf",
  159. 'work_id': "4",
  160. 'customer_id': "1",
  161. 'state': 'send',
  162. 'phase': 'enter',
  163. 'attempts': 0,
  164. 'additional': 'null',
  165. 'name': 'dicom'
  166. },
  167. "time": "2010-04-10T23:00:00.13Z",
  168. "fields": {
  169. "msg": "send"
  170. }
  171. },
  172. {
  173. "measurement": "workflows",
  174. "tags": {
  175. 'trx_id': "asdfasdf",
  176. 'work_id': "4",
  177. 'customer_id': "1",
  178. 'state': 'processed',
  179. 'phase': 'enter',
  180. 'attempts': 0,
  181. 'additional': 'null',
  182. 'name': 'dicom'
  183. },
  184. "time": "2014-09-10T23:00:00.13Z",
  185. "fields": {
  186. "msg": "processed"
  187. }
  188. },
  189. {
  190. "measurement": "workflows",
  191. "tags": {
  192. 'trx_id': "asdfasdf",
  193. 'work_id': "4",
  194. 'customer_id': "1",
  195. 'state': 'error',
  196. 'phase': 'enter',
  197. 'attempts': 0,
  198. 'additional': 'null',
  199. 'name': 'dicom'
  200. },
  201. "time": "2016-02-10T23:00:00.13Z",
  202. "fields": {
  203. "msg": "error"
  204. }
  205. }
  206. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement