Member since
11-02-2016
3
Posts
1
Kudos Received
0
Solutions
11-03-2016
03:22 PM
Hello, thanks everyone for the prompt response. With some aid I was able to figure it out
Mostly my problem was to understand the difference between the Grouping Regular Expression and extracting the date parameter which in my case are pretty much the same expression. Also I have to admit that the RouteText.Group attribute was not something easy to find even in the documentation.
I feel that reading a TCP connection with logs and store it partitioned directly to a Hive table should be a fairly common use case, so I'm attaching the template as a grain of sand contribution. recordtexttopartition.xml Thanks again
... View more
11-02-2016
11:05 PM
1 Kudo
I'm trying to split a FlowFile into multiple different files by date. So imagine that you are receiving logs and you want to save as a Hive partitioned table so for example all records with date 2016-01-01 into directory dt=2016-01-01.
... View more
Labels:
- Labels:
-
Apache NiFi