Re: Need help in nifi- flume processor

2015-11-03 Thread Parul Agrawal
ed so far. Thanks and Regards, Parul On Mon, Oct 26, 2015 at 5:14 PM, Bryan Bende <bbe...@gmail.com> wrote: > Hello, > > Can you tell us what you are trying to route on in the json? What regular > expression did you try in RouteOnContent? > > -Bryan > > > On Monday

Re: Need help in nifi- flume processor

2015-10-26 Thread Parul Agrawal
"field" which needs to be > split again so would possibly need some conditional logic to split certain > documents again. > > Alternatively you could write a custom processor that restructures your > JSON. > > -Bryan > > > > On Tue, Oct 13, 2015

Re: Need help in nifi- flume processor

2015-10-13 Thread Parul Agrawal
; {"firstname":"Anna", "lastname":"Smith"} > ] > > The table name will come from the Table Name property. > > Let us know if this doesn't work. > > -Bryan > > > On Mon, Oct 12, 2015 at 12:19 PM, Parul Agrawal <parulagrawa..

Re: Need help in nifi- flume processor

2015-10-12 Thread Parul Agrawal
nks and Regards, Parul On Sat, Oct 10, 2015 at 9:45 PM, Joey Echeverria <joe...@gmail.com> wrote: > I've done something like this by wrapping the command in a shell script: > > http://ingest.tips/2014/12/22/getting-started-with-apache-nifi/ > > My use case was slightly diffe

Re: Need help in nifi- flume processor

2015-10-10 Thread Parul Agrawal
Hi, I actually need to get the data from pipe. So the actual command I would need is mkfifo /tmp/packet;tshark -i ens160 -T pdml >/tmp/packet. Is it possible to use ExecuteProcessor for multiple commands ? On Sat, Oct 10, 2015 at 1:04 PM, Parul Agrawal <parulagrawa...@gmail.com> wro

Re: Need help in nifi- flume processor

2015-10-10 Thread Parul Agrawal
urrently an XmlToJson processor, so this could be a place > where you need a custom processor. For simple cases you can use an > EvaluateXPath processor to extract values from the XML, and then a > ReplaceText processor to build a new json document from those extracted > values. >