Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
This is an extension of MINIFICPP-1734. Flow files produced by TailFile in the Kubernetes use case have attributes like this:
FlowFile Attributes Map Content key:TextFragmentAttribute.base_name value:0 key:TextFragmentAttribute.offset value:3431278 key:TextFragmentAttribute.post_name value:log key:absolute.path value:/var/log/pods/default_counter_dd5befc8-5573-40c3-a136-8daf6eb77b01/count/0.log key:filename value:0.3431278-3431357.log key:flow.id value:cbd22e73-f01b-43ee-aa73-a28963dc1d56 key:path value:/var/log/pods/default_counter_dd5befc8-5573-40c3-a136-8daf6eb77b01/count
In order to make it easier to separate flow files coming from the logs of different pods, it would be useful to add some more attributes, for example:
key:kubernetes.namespace value:default key:kubernetes.pod value:counter key:kubernetes.uid value:dd5befc8-5573-40c3-a136-8daf6eb77b01 key:kubernetes.container value:count
Attachments
Issue Links
- links to