Skip to content

Instantly share code, notes, and snippets.

@alopresto
Created September 28, 2016 00:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alopresto/72ba8f56495813e3fd0f0d9b9165d0e7 to your computer and use it in GitHub Desktop.
Save alopresto/72ba8f56495813e3fd0f0d9b9165d0e7 to your computer and use it in GitHub Desktop.
Excerpt of `logs/nifi-app.log` showing the output of a Java program invoked via bash script.
2016-09-27 17:17:59,973 INFO [Timer-Driven Process Thread-3] o.a.n.processors.standard.LogAttribute LogAttribute[id=6e22ae1c-0157-1000-96e3-9be4680eb151] logging for flow file StandardFlowFileRecord[uuid=9748ab80-3c9a-4598-be9d-4dc297975ab3,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1475019971713-1, container=default, section=1], offset=1595, length=78],offset=0,name=70207909674263,size=78]
--------------------------------------------------
Standard FlowFile Attributes
Key: 'entryDate'
Value: 'Tue Sep 27 17:17:59 PDT 2016'
Key: 'lineageStartDate'
Value: 'Tue Sep 27 17:17:59 PDT 2016'
Key: 'fileSize'
Value: '78'
FlowFile Attribute Map Content
Key: 'filename'
Value: '70207909674263'
Key: 'path'
Value: './'
Key: 'uuid'
Value: '9748ab80-3c9a-4598-be9d-4dc297975ab3'
--------------------------------------------------
[System out] Provided arguments: 1 2 3
[System err] Provided arguments: 1 2 3
2016-09-27 17:18:05,287 INFO [Timer-Driven Process Thread-7] o.a.n.processors.standard.LogAttribute LogAttribute[id=6e22ae1c-0157-1000-96e3-9be4680eb151] logging for flow file StandardFlowFileRecord[uuid=c5d77c75-f7e4-4de7-b2fe-52d6e35692dd,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1475019971713-1, container=default, section=1], offset=1673, length=78],offset=0,name=70213246902206,size=78]
--------------------------------------------------
Standard FlowFile Attributes
Key: 'entryDate'
Value: 'Tue Sep 27 17:18:05 PDT 2016'
Key: 'lineageStartDate'
Value: 'Tue Sep 27 17:18:05 PDT 2016'
Key: 'fileSize'
Value: '78'
FlowFile Attribute Map Content
Key: 'filename'
Value: '70213246902206'
Key: 'path'
Value: './'
Key: 'uuid'
Value: 'c5d77c75-f7e4-4de7-b2fe-52d6e35692dd'
--------------------------------------------------
[System out] Provided arguments: 1 2 3
[System err] Provided arguments: 1 2 3
2016-09-27 17:18:10,078 INFO [NiFi Web Server-229] o.a.n.controller.StandardProcessorNode Stopping processor: class org.apache.nifi.processors.standard.ExecuteProcess
2016-09-27 17:18:10,078 INFO [StandardProcessScheduler Thread-6] o.a.n.c.s.TimerDrivenSchedulingAgent Stopped scheduling ExecuteProcess[id=6e0d4685-0157-1000-1616-34e3ea888ad6] to run
2016-09-27 17:18:10,080 INFO [NiFi Web Server-262] o.a.n.controller.StandardProcessorNode Stopping processor: class org.apache.nifi.processors.standard.LogAttribute
2016-09-27 17:18:10,080 INFO [StandardProcessScheduler Thread-4] o.a.n.c.s.TimerDrivenSchedulingAgent Stopped scheduling LogAttribute[id=6e22ae1c-0157-1000-96e3-9be4680eb151] to run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment