Member since
05-24-2016
45
Posts
4
Kudos Received
0
Solutions
05-30-2016
07:39 AM
Hi @mclark Thanks. Before ExtractText we use Tailfile. So every flow contains only a few records of the entire file.
... View more
05-27-2016
08:50 AM
@Pierre Villard It's OK, Thanks a lot.
... View more
05-27-2016
06:45 AM
Hi everybody **** In input I've got a flow multiline like this one : 27/05/2016 06:28:34,000 ERROR [ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' fr.pe.sldng.integration.rest.GestionnaireExceptionSollicitationRest Exception lors du traitement
fr.pe.empl.service.data.exception.SLDNotFoundException: Mini site inconnu
at fr.pe.empl.service.services.impl.MiniSiteServiceImpl.lire(MiniSiteServiceImpl.java:89)
at **** Then I use "ExtractText" processor with multiline mode=true and with a new property grok=^(.*)$ And in ouput this property ${grok} has only the first line. *** My question, how can I retrieve all the input lines in this property ? Thanks for your answer.
... View more
Labels:
- Labels:
-
Apache NiFi
05-26-2016
02:34 PM
Wonderful Now it's ok Simon
... View more
05-26-2016
02:09 PM
Hi @Simon Elliston Ball Thanks a lot for your answer. I understand now. But I cannot ignore relation ship "original" because without this relation Nifi doesn't validate my processor. How can you use "splits" relationship without the "original" one ? Hope It's my last question for this.
... View more
05-25-2016
06:46 AM
@Simon Elliston Ball The test is KO. Before "replace text" 25/05/2016 08:40:18,739 ERROR [ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' fr.pe.sldng.integration.rest.GestionnaireExceptionSollicitationRest Exception lors du traitement
fr.pe.empl.service.da016.recruteur.minisite.data.exception.SLDNotFoundException: Mini site inconnu
at fr.pe.empl.service.da016.recruteur.minisite.services.impl.MiniSiteServiceImpl.lire(MiniSiteServiceImpl.java:89)
at fr.pe.empl.service.da016.recruteur.minisite.services.impl.EnvoiMailSignalementDs3ServiceImpl.envoyerUnMail(EnvoiMailSignalementDs3ServiceImpl.java:60)
at fr.pe.empl.service.da016.recruteur.minisite.ressources.MailRessource$Proxy$_$_WeldSubclass.envoyerMailSignalementContenuInaproprie(MailRessource$Proxy$_$_WeldSubclass.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
25/05/2016 08:40:18,739 ERROR [ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' fr.pe.sldng.integration.rest.GestionnaireExceptionSollicitationRest Exception lors du traitement
fr.pe.empl.service.da016.recruteur.minisite.data.exception.SLDNotFoundException: Mini site inconnu After "replace text" and the magic character "£|£|£|" £|£|£| 25/05/2016 08:40:18,739 ERROR [ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' fr.pe.sldng.integration.rest.GestionnaireExceptionSollicitationRest Exception lors du traitement
fr.pe.empl.service.da016.recruteur.minisite.data.exception.SLDNotFoundException: Mini site inconnu
at fr.pe.empl.service.da016.recruteur.minisite.services.impl.MiniSiteServiceImpl.lire(MiniSiteServiceImpl.java:89)
at fr.pe.empl.service.da016.recruteur.minisite.services.impl.EnvoiMailSignalementDs3ServiceImpl.envoyerUnMail(EnvoiMailSignalementDs3ServiceImpl.java:60)
at fr.pe.empl.service.da016.recruteur.minisite.ressources.MailRessource$Proxy$_$_WeldSubclass.envoyerMailSignalementContenuInaproprie(MailRessource$Proxy$_$_WeldSubclass.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
£|£|£| 25/05/2016 08:40:18,739 ERROR [ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' fr.pe.sldng.integration.rest.GestionnaireExceptionSollicitationRest Exception lors du traitement
fr.pe.empl.service.da016.recruteur.minisite.data.exception.SLDNotFoundException: Mini site inconnu But after "split text" Output claim has no change. It does not split... Have you got an idea ? Below split prperties : Byte Sequence Format
Text
Byte Sequence
£|£|£|
Keep Byte Sequence
false
Byte Sequence Location
Trailing Thanks
... View more
05-25-2016
06:07 AM
@Simon Elliston Ball Thanks, I'm going to test your solution.
... View more
05-24-2016
02:42 PM
For example I've got this 9 lines in input 24/05/2016 13:40:18,739 ERROR [ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' fr.pe.sldng.integration.rest.GestionnaireExceptionSollicitationRest Exception lors du traitement fr.data.exception.SLDNotFoundException: Mini site inconnu at fr.services.impl.MiniSiteServiceImpl.lire(MiniSiteServiceImpl.java:89) at fr.services.impl.EnvoiMailSignalementDs3ServiceImpl.envoyerUnMail(EnvoiMailSignalementDs3ServiceImpl.java:60) at fr.ressources.MailRessource.envoyerMailSignalementContenuInaproprie(MailRessource.java:41) 24/05/2016 15:40:18,739 ERROR [ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' fr.rest.GestionnaireExceptionSollicitationRest Exception lors du traitement fr.data.exception.SLDNotFoundException: Mini site inconnu and I'd like with an "extract text" processor to have a property with the value beginning with "24/05/2016 13:40:18,739 ERROR..." and ending just before the next timestamp "24/05/2016 15:40:18,739... " so with the first 6 input lines. and another property beginning at the second timestamp and ending at the end of the input lines so with the last three input lines. Is it possible to do this with Nifi ? Thanks
... View more
Labels:
- Labels:
-
Apache NiFi
05-24-2016
01:20 PM
Thanks. I'm a novice nifi's user. I've got in a "extract text" processor this property "grok" below. grok
^((?<year>\d+).*)$
And I don't understand exactly what it means and espacially "\d+" and ".*"
... View more
05-24-2016
01:06 PM
Labels:
- Labels:
-
Apache NiFi
- « Previous
- Next »