Member since
10-15-2018
2
Posts
1
Kudos Received
0
Solutions
10-15-2018
02:59 PM
1 Kudo
Hi, I am trying to use the PutDynamoDB processor to write the following JSON object into a table in DynamoDB. However, when I go to the dynamodb table, the entire JSON object from the FlowFile lands under the property set in JSON Document Attribute (in this case, activity). JSON Input: { "messageid": "1", "application": "value 1", "datetime": "value 2", "dev": "value 3", "activity": "value 4" } For example, I have the below in a field called activity in dynamodb table. Attached is a screenshot of the table in dynamodb capture.jpg Output in DynamoDB table under a field called 'activity': { "application" : { "S" : "value 1" }, "datetime" : { "S" : "value 2" }, "dev" : { "S" : "value 3" }, "activity" : { "S" : "value 4" }, "messageid" : { "S" : "1" } } I want the JSON contents of the FlowFile to land in DynamoDB as a record with a messageid and 4 fields with their respective values. I don't know if this is a bug or if I am using it incorrectly. Is there any workaround? Any help will be appreciated Thanks!
... View more
Labels:
- Labels:
-
Apache NiFi