Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body = [
- {
- "measurement": "workflows",
- "tags": {
- 'trx_id': "abcd1234",
- 'work_id': "1",
- 'customer_id': "1",
- 'state': 'processed',
- 'phase': 'enter',
- 'attempts': 0,
- 'additional': 'null',
- 'name': 'outbound_hl7'
- },
- "time": "2010-01-10T23:00:00.13Z",
- "fields": {
- "msg": "processed"
- }
- },
- {
- "measurement": "workflows",
- "tags": {
- 'trx_id': "abcd1234",
- 'work_id': "1",
- 'customer_id': "1",
- 'state': 'send',
- 'phase': 'enter',
- 'attempts': 0,
- 'additional': 'null',
- 'name': 'outbound_hl7'
- },
- "time": "2014-10-10T23:00:00.13Z",
- "fields": {
- "msg": "send"
- }
- },
- {
- "measurement": "workflows",
- "tags": {
- 'trx_id': "abcd1234",
- 'work_id': "1",
- 'customer_id': "1",
- 'state': 'error',
- 'phase': 'enter',
- 'attempts': 0,
- 'additional': 'null',
- 'name': 'outbound_hl7'
- },
- "time": "2015-01-10T23:00:00.13Z",
- "fields": {
- "msg": "error"
- }
- },
- {
- "measurement": "workflows",
- "tags": {
- 'trx_id': "asdfasdf",
- 'work_id': "2",
- 'customer_id': "2",
- 'state': 'send',
- 'phase': 'enter',
- 'attempts': 0,
- 'additional': 'null',
- 'name': 'outbound_hl7'
- },
- "time": "2010-02-10T23:00:00.13Z",
- "fields": {
- "msg": "send"
- }
- },
- {
- "measurement": "workflows",
- "tags": {
- 'trx_id': "asdfasdf",
- 'work_id': "2",
- 'customer_id': "2",
- 'state': 'processed',
- 'phase': 'enter',
- 'attempts': 0,
- 'additional': 'null',
- 'name': 'outbound_hl7'
- },
- "time": "2015-09-10T23:00:00.13Z",
- "fields": {
- "msg": "processed"
- }
- },
- {
- "measurement": "workflows",
- "tags": {
- 'trx_id': "asdfasdf",
- 'work_id': "2",
- 'customer_id': "2",
- 'state': 'error',
- 'phase': 'enter',
- 'attempts': 0,
- 'additional': 'null',
- 'name': 'outbound_hl7'
- },
- "time": "2016-10-10T23:00:00.13Z",
- "fields": {
- "msg": "error"
- }
- },
- {
- "measurement": "workflows",
- "tags": {
- 'trx_id': "abcd1234",
- 'work_id': "3",
- 'customer_id': "1",
- 'state': 'processed',
- 'phase': 'enter',
- 'attempts': 0,
- 'additional': 'null',
- 'name': 'outbound_hl7'
- },
- "time": "2010-03-10T23:00:00.13Z",
- "fields": {
- "msg": "processed"
- }
- },
- {
- "measurement": "workflows",
- "tags": {
- 'trx_id': "abcd1234",
- 'work_id': "3",
- 'customer_id': "1",
- 'state': 'send',
- 'phase': 'enter',
- 'attempts': 0,
- 'additional': 'null',
- 'name': 'dicom'
- },
- "time": "2014-08-10T23:00:00.13Z",
- "fields": {
- "msg": "send"
- }
- },
- {
- "measurement": "workflows",
- "tags": {
- 'trx_id': "abcd1234",
- 'work_id': "3",
- 'customer_id': "1",
- 'state': 'render',
- 'phase': 'enter',
- 'attempts': 0,
- 'additional': 'null',
- 'name': 'dicom'
- },
- "time": "2015-02-10T23:00:00.13Z",
- "fields": {
- "msg": "render"
- }
- },
- {
- "measurement": "workflows",
- "tags": {
- 'trx_id': "asdfasdf",
- 'work_id': "4",
- 'customer_id': "1",
- 'state': 'send',
- 'phase': 'enter',
- 'attempts': 0,
- 'additional': 'null',
- 'name': 'dicom'
- },
- "time": "2010-04-10T23:00:00.13Z",
- "fields": {
- "msg": "send"
- }
- },
- {
- "measurement": "workflows",
- "tags": {
- 'trx_id': "asdfasdf",
- 'work_id': "4",
- 'customer_id': "1",
- 'state': 'processed',
- 'phase': 'enter',
- 'attempts': 0,
- 'additional': 'null',
- 'name': 'dicom'
- },
- "time": "2014-09-10T23:00:00.13Z",
- "fields": {
- "msg": "processed"
- }
- },
- {
- "measurement": "workflows",
- "tags": {
- 'trx_id': "asdfasdf",
- 'work_id': "4",
- 'customer_id': "1",
- 'state': 'error',
- 'phase': 'enter',
- 'attempts': 0,
- 'additional': 'null',
- 'name': 'dicom'
- },
- "time": "2016-02-10T23:00:00.13Z",
- "fields": {
- "msg": "error"
- }
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement