s-2.7.3.jar
> hadoop-common-2.7.3.jar
> httpclient-4.5.3.jar
> httpcore-4.4.4.jar
> jackson-annotations-2.6.0.jar
> jackson-core-2.6.1.jar
> jackson-databind-2.6.1.jar
>
> So just grab those from maven central and you should be good to go.
>
> -joey
>
> On Dec 5
Hi
Is it possible to use PutParquet processor to write files into S3? I tried
by setting s3 bucket in core-site.xml file but i am getting *No FileSystem
for scheme: s3a*
*core-site.xml*
fs.defaultFS
s3a://testing
fs.s3a.access.key
fs.s3a.secret.key
Is there any Processor available for Netflow? If not what is the best way
to get Netflow data parsed using nifi?
Any help?
On Thu, Aug 4, 2016 at 5:25 AM, Madhukar Thota <madhukar.th...@gmail.com>
wrote:
> How to convert Both RFC5424 and RFC3164 syslog timestamp attribute to
> type to long.
>
> Will some thing like this works?
>
> ${syslog.timestamp:toDate('M
How to convert Both RFC5424 and RFC3164 syslog timestamp attribute to type
to long.
Will some thing like this works?
${syslog.timestamp:toDate('MMM d HH:mm:ss'):toNumber():or(
${syslog.timestamp:toDate("-MM-dd'T'HH:mm:ss.SZ"):toNumber()}
):or(
one (that included ints).
>
> HTH,
>
> Conrad
>
>
>
> *From: *Madhukar Thota <madhukar.th...@gmail.com>
> *Reply-To: *"users@nifi.apache.org" <users@nifi.apache.org>
> *Date: *Tuesday, 26 July 2016 at 09:52
> *To: *"users@nifi.apache.
Friends,
What is the best way to get Syslog data into avro format without converting
to JSON?
Any suggestions?
t to extract $.json ?
>>
>> In your original example only the second document had a field called
>> "json", and the matched relationship coming out of EvaluateJsonPath will
>> only receive the json documents that had the path being extracted.
>>
>> -Br
; log.error("Doesn't adhere to schema", ve)
> valid = false
> }
> } as InputStreamCallback)
>
> session.transfer(flowFile, valid ? REL_SUCCESS : REL_FAILURE)
>
>
> Hope this helps!
>
> Regards,
> Matt
>
> [1] https://issues.ap
cuments. But i need to
> only one document
>
> "{"json":"data","extracted":"from","message":"payload"}"
>
> How can i get that?
>
> On Tue, May 17, 2016 at 12:21 PM, Bryan Bende <bbe...@gmail.com> wrote:
>
>>
de <bbe...@gmail.com> wrote:
> Hello,
>
> I think this would probably be better handled by SplitText with a line
> count of 1.
>
> SplitJson would be more for splitting an array of JSON documents, or a
> field that is an array.
>
> -Bryan
>
> On Tue, May 17,
I have a incoming json from kafka with two documents seperated by new line
{"index":{"_index":"mylogger-2014.06.05","_type":"mytype-host.domain.com"}}{"json":"data","extracted":"from","message":"payload"}
I want to get the second document after new line. How can i split the json
by new line
is it possible to do validation of incoming json via http Processor with
Json Schema in nifi?
Example Json:
{
name: "Test",
timestamp: 1463499695,
tags: {
"host": "Test_1",
"ip" : "1.1.1.1"
},
fields: {
"cpu": 10.2,
"load: : 15.6
}
}
JSON schema:
"type":
Friends,
Is it possible to set file size like 500 mb or 1 GB before writing to hdfs?
I want to write large files instead of lot of smaller files to hdfs?
If possible, what processor i need to use to achive the size?
-Madhu
bottom line is that LuaJ should probably only be used to leverage
> business logic written in Lua, not Java. If you want access to Java
> libraries, I'd use another script engine such as Groovy.
>
> Regards,
> Matt
>
> On Wed, May 4, 2016 at 11:39 AM, Madhukar Thota
> &l
ession due to org.luaj.vm2.LuaError: script:98 vm
error: java.lang.ClassNotFoundException:
org.apache.commons.io.IOUtils: org.luaj.vm2.LuaError: script:98 vm
error: java.lang.ClassNotFoundException: org.apache.commons.io.IOUtils
Any help here?
On Thu, Apr 21, 2016 at 10:58 AM, Madhukar Thota &l
concurrent tasks using executescript processor.
-Madhu
On Mon, May 2, 2016 at 11:55 AM, Madhukar Thota <madhukar.th...@gmail.com>
wrote:
> Thanks Matt and Joe for your input. I will go through your suggestions.
>
> On Mon, May 2, 2016 at 10:16 AM, Matt Burgess <mattyb...@gmail.com&
p in Java. Looks like it might
> > be a straightforward processor so now that you've gotten the precise
> > logic you want you can turn it into a full nifi processor and you'll
> > get solid performance.
> >
> > Thanks
> > Joe
> >
> > On Mon, May 2, 20
Hi
I am using ExecuteScript Processor( using python/jython script pasted
below) to process http querystring along with useragent parsing. The
processor is very slow and not able to handle heavy load. Lot of them of
getting queued and waiting for the processor to process it. How can i
improve the
ml
>>
>>
>> Joe
>> - - - - - -
>> Joseph Percivall
>> linkedin.com/in/Percivall
>> e: joeperciv...@yahoo.com
>>
>>
>>
>>
>> On Monday, April 25, 2016 10:46 PM, Joe Witt <joe.w...@gmail.com> wrote:
>> Madhu,
>>
Friends,
Just checking to see if anyone in the community using Nifi or custom Nifi
processor to write the data into opentsdb? Any input is appreciated.
-Madhu
, 2016 at 5:21 PM, Madhukar Thota <madhukar.th...@gmail.com>
wrote:
> I am trying to read the lua file this way, but its not working. How to
> read the lua files from module directory and use it in execution?
>
> luajava.LuaState = luajava.LuaStateFactory.newLuaState()
>
>
>
Friends,
Can anyone share an sample example on how to use Lua in ExecuteScript
Processor? We have bunch of lua scripts which we would like to use for data
processing.
Any help is appreciated.
Thanks
Madhu
pport. Can you point us to what you are looking at
> specifically?
>
> Thanks
> Joe
>
> On Wed, Apr 13, 2016 at 1:34 PM, Madhukar Thota
> <madhukar.th...@gmail.com> wrote:
> > Friends,
> >
> > Is it possible to use Schema registry with Kafka Processors to store and
> > retrive Avro schema?
> >
> > -Madhu
>
Friends,
Is it possible to use Schema registry with Kafka Processors to store and
retrive Avro schema?
-Madhu
We have a dedicated zookeeper cluster which we would like to use with Nifi
for state management. Is it possible to configure remote zookeeper cluster
instead of embedded zookeepr?
g here or do i need extra processor to convert
into right format what elasticsearch understands?
On Thu, Apr 7, 2016 at 7:49 AM, Madhukar Thota <madhukar.th...@gmail.com>
wrote:
> Friends,
>
> I am exploring ExecuteSQL processor in nifi and my goal to get sql data
> ingested i
Here is an example of json to json conversion using Groovy with JsonSlurper.
http://funnifi.blogspot.com/2016/02/executescript-json-to-json-conversion.html
On Thu, Apr 7, 2016 at 11:31 AM, Thad Guidry wrote:
> Philippe,
>
> I would encourage you to just use Groovy with
I think Elasticsearch processor uses transport client not http. So you
should use 9300(transport port) port not 9200(http port).
On Wed, Apr 6, 2016 at 12:41 PM, wrote:
> Hello
>
> My context nifi 0.6.0 on Ubuntu 14.0
>
> my small use case is :
>
> ‘sending JSON
Friends,
I am exploring ExecuteSQL processor in nifi and my goal to get sql data
ingested in Elasticsearch.
Can someone share or guide what's the flow looks like?
Thanks in Advance.
i made small progess but seeing different execption not sure why i am
seeing nil value.
error:
22:58:35 EDT
ERROR
6f15a6f2-7744-404c-9961-f545d3f29042
ExecuteScript[id=6f15a6f2-7744-404c-9961-f545d3f29042] Failed to
process session due to
org.apache.nifi.processor.exception.ProcessException:
nary from the main script and pass it into the
> callback constructor. Then process() can update it, and you can use the
> populated dictionary after process() returns to set attributes and such.
>
> Regards,
> Matt
>
>
> On Mar 30, 2016, at 5:00 PM, Madhukar Thota <madhu
Matt,
I tired the following code but i am getting the following error. Can you
help me where i am doing wrong?
Error:
16:56:10 EDT
ERROR
6f15a6f2-7744-404c-9961-f545d3f29042
ExecuteScript[id=6f15a6f2-7744-404c-9961-f545d3f29042] Failed to
process session due to
e fine.
>
> Thanks
> Joe
>
> On Wed, Mar 30, 2016 at 11:16 AM, Madhukar Thota
> <madhukar.th...@gmail.com> wrote:
> > I was able to construct the Json with right data type output from
> > ExecuteScript and sending to Kafka directly. The problem i am seeing i
ied this by the way, but the type
> conversion certainly works for the final attributes in the Avro documents.
> Conrad
>
> From: Madhukar Thota <madhukar.th...@gmail.com>
> Reply-To: "users@nifi.apache.org" <users@nifi.apache.org>
> Date: Friday, 25 March 2016
> > but end with have ".type" ?
> >
> > So in your example there would be:
> >
> > rt_firstbyte ${http.param.t_resp}
> > rt_firstbyte.type int
> >
> > If it doesn't find a type attribute then it defaults to String as it does
> > today.
> &
do
> with a given attribute that is of type Int/Long/etc..?
>
> Thanks
> Joe
>
>
>
> On Fri, Mar 25, 2016 at 8:01 AM, Chase Cunningham <ch...@thecynja.com>
> wrote:
> > unsubscribe
> >
> >
> > On 3/25/16 9:01 AM, Madhukar Thota wrote:
> >
other than Strings.
>
> -Bryan
>
>
> On Thu, Mar 24, 2016 at 3:30 PM, Madhukar Thota <madhukar.th...@gmail.com>
> wrote:
>
>> Hi i am trying to convert string value to integer in UpdateAtrributes
>> using toNumber like this
>>
>>
>> ${http.param.t_re
Hi i am trying to convert string value to integer in UpdateAtrributes using
toNumber like this
${http.param.t_resp:toNumber()} where http.param.t_resp = "132"
but when the fileattribute pushed to Attributetojson processor , i am
stilling seeing it as string. Am i am doing something wrong? and
=372_done=393_other=t_domloaded%7C364=http%3A%2F%2Flocalhost%3A63342%2FBeacon%2Ftest.html==http%3A%2F%2Flocalhost%3A63342%2FBeacon%2Ftest.html=0.9&
vis.st=visible
-Madhu
On Thu, Mar 24, 2016 at 12:34 AM, Madhukar Thota <madhukar.th...@gmail.com>
wrote:
> Hi Matt,
>
> Thank y
>
> I am new to Python as well, but am happy to help if I can with any issues
> you run into, as it will help me learn more as well :)
>
> Regards,
> Matt
>
>
> On Thu, Mar 24, 2016 at 12:10 AM, Madhukar Thota <madhukar.th...@gmail.com
> > wrote:
>
>&g
fields. I am kind of new to python and
also this my first attempt of using python with nifi.
Any help is appreciated.
On Wed, Mar 23, 2016 at 11:31 PM, Madhukar Thota <madhukar.th...@gmail.com>
wrote:
> Hi
>
> I am trying to use the following script to parse http.he
Hi
I am trying to use the following script to parse http.headers.useragent
with python useragent module using ExecuteScript Processor.
Script:
#!/usr/bin/env python2.7
from user_agents import parse
flowFile = session.get()
if (flowFile != None):
flowFile = session.putAttribute(flowFile,
Hi
I am looking for an example in python to convert a new field based on
attribute value.
Let say syslog.facilty holds value 23, based on the value i want to create
new field with text value like syslog.facility_label=LOCAL7
If this transformation possible with existing processors, please
> There are some cool blogs about them here:
>
> http://funnifi.blogspot.com/2016/02/executescript-processor-hello-world.html
>
> -Bryan
>
> On Fri, Feb 12, 2016 at 10:48 AM, Madhukar Thota <madhukar.th...@gmail.com
> > wrote:
>
>> Thanks Bryan. I will look
45 matches
Mail list logo