-
-
Notifications
You must be signed in to change notification settings - Fork 182
/
Copy pathcollect-stream-logs-flow.xml
1491 lines (1491 loc) · 81.7 KB
/
collect-stream-logs-flow.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<template>
<description>Ingest logs from folders and UDP port, stream real-time log events to dashboard, persist logs to Solr
for historical search
</description>
<name>collect-stream-logs</name>
<snippet>
<controllerServices>
<id>6c2a6c92-cf75-4dad-a426-65d0043a39b7</id>
<comments></comments>
<descriptors>
<entry>
<key>Listening Port</key>
<value>
<description>the port to listen on for incoming connections</description>
<displayName>Listening Port</displayName>
<dynamic>false</dynamic>
<name>Listening Port</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>URL prefix</key>
<value>
<defaultValue>/eventbus/*</defaultValue>
<description>URL context path where clients can connect</description>
<displayName>URL prefix</displayName>
<dynamic>false</dynamic>
<name>URL prefix</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>inbound address regex</key>
<value>
<defaultValue>.*</defaultValue>
<description>permitted matches for inbound (client->server) traffic</description>
<displayName>inbound address regex</displayName>
<dynamic>false</dynamic>
<name>inbound address regex</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>outbound address regex</key>
<value>
<defaultValue>.*</defaultValue>
<description>permitted matches for outbound (server->client) traffic</description>
<displayName>outbound address regex</displayName>
<dynamic>false</dynamic>
<name>outbound address regex</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
</descriptors>
<name>VertxService</name>
<properties>
<entry>
<key>Listening Port</key>
<value>5555</value>
</entry>
<entry>
<key>URL prefix</key>
<value>/eventbus/*</value>
</entry>
<entry>
<key>inbound address regex</key>
<value>.*</value>
</entry>
<entry>
<key>outbound address regex</key>
<value>.*</value>
</entry>
</properties>
<referencingComponents>
<activeThreadCount>0</activeThreadCount>
<descriptors>
<entry>
<key>outbound address</key>
<value>
<description>address where outbound message will be published</description>
<displayName>outbound address</displayName>
<dynamic>false</dynamic>
<name>outbound address</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Vertx Service</key>
<value>
<allowableValues>
<displayName>VertxService</displayName>
<value>6c2a6c92-cf75-4dad-a426-65d0043a39b7</value>
</allowableValues>
<description>The ControllerService that is used to obtain eventBus instance</description>
<displayName>Vertx Service</displayName>
<dynamic>false</dynamic>
<identifiesControllerService>com.crossbusiness.nifi.controllers.VertxServiceInterface
</identifiesControllerService>
<name>Vertx Service</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
</descriptors>
<groupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</groupId>
<id>e07d0f0e-a537-49bb-851d-419b23b3f03a</id>
<name>send log json to EvenBus</name>
<properties>
<entry>
<key>outbound address</key>
<value>log</value>
</entry>
<entry>
<key>Vertx Service</key>
<value>6c2a6c92-cf75-4dad-a426-65d0043a39b7</value>
</entry>
</properties>
<referenceType>Processor</referenceType>
<state>RUNNING</state>
<type>com.crossbusiness.nifi.processors.SendEventBus</type>
</referencingComponents>
<state>ENABLED</state>
<type>com.crossbusiness.nifi.controllers.VertxService</type>
</controllerServices>
<processGroups>
<id>0cf88730-3e02-4c18-aa67-d6207a0f33bf</id>
<parentGroupId>2ff01468-943b-4762-9eb3-cac99ab61f0e</parentGroupId>
<position>
<x>910.712646484375</x>
<y>222.8416290283203</y>
</position>
<activeRemotePortCount>0</activeRemotePortCount>
<comments>Ingest logs from folders and UDP port, stream real-time log events to dashboard, persist logs to
Solr for historical search.
</comments>
<contents>
<connections>
<id>d3548c65-79f0-4d7b-881c-3eb369835887</id>
<parentGroupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<bends>
<x>639.4239501953125</x>
<y>202.55335998535156</y>
</bends>
<destination>
<groupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</groupId>
<id>9a39e1e6-7c53-4325-b79b-7701e0529820</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<selectedRelationships>success</selectedRelationships>
<source>
<groupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</groupId>
<id>e645fbe2-459e-4bd0-b993-3dda36856ae2</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>c1a8d53f-bf47-4a82-b9a4-572dd6aa97e1</id>
<parentGroupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<bends>
<x>639.4239501953125</x>
<y>350.5533447265625</y>
</bends>
<destination>
<groupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</groupId>
<id>cb49a0ad-65d6-4d80-ad48-027ccd078740</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<selectedRelationships>splits</selectedRelationships>
<source>
<groupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</groupId>
<id>9a39e1e6-7c53-4325-b79b-7701e0529820</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>3e45843d-72e5-438f-9c79-9ff76bae9920</id>
<parentGroupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<destination>
<groupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</groupId>
<id>e07d0f0e-a537-49bb-851d-419b23b3f03a</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<selectedRelationships>success</selectedRelationships>
<source>
<groupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</groupId>
<id>cb49a0ad-65d6-4d80-ad48-027ccd078740</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>8a1667db-46a8-4c84-aa60-e10cd3d6214c</id>
<parentGroupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<bends>
<x>1311.4239501953125</x>
<y>201.55335998535156</y>
</bends>
<destination>
<groupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</groupId>
<id>0a35c92b-ff17-4fc3-93dd-8fbadda0bf25</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<prioritizers>org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer</prioritizers>
<selectedRelationships>success</selectedRelationships>
<source>
<groupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</groupId>
<id>6d338d10-f37f-4691-8522-ef5b3da4ee73</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<connections>
<id>1f9ea255-c894-4732-a67d-a7f6af2c1f41</id>
<parentGroupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</parentGroupId>
<backPressureDataSizeThreshold>0 MB</backPressureDataSizeThreshold>
<backPressureObjectThreshold>0</backPressureObjectThreshold>
<bends>
<x>1312.4239501953125</x>
<y>354.5533447265625</y>
</bends>
<destination>
<groupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</groupId>
<id>e07d0f0e-a537-49bb-851d-419b23b3f03a</id>
<type>PROCESSOR</type>
</destination>
<flowFileExpiration>0 sec</flowFileExpiration>
<labelIndex>1</labelIndex>
<name></name>
<prioritizers>org.apache.nifi.prioritizer.FirstInFirstOutPrioritizer</prioritizers>
<selectedRelationships>matched</selectedRelationships>
<source>
<groupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</groupId>
<id>0a35c92b-ff17-4fc3-93dd-8fbadda0bf25</id>
<type>PROCESSOR</type>
</source>
<zIndex>0</zIndex>
</connections>
<processors>
<id>9a39e1e6-7c53-4325-b79b-7701e0529820</id>
<parentGroupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</parentGroupId>
<position>
<x>164.1650390625</x>
<y>226.64722442626953</y>
</position>
<config>
<bulletinLevel>WARN</bulletinLevel>
<comments></comments>
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount>
<defaultConcurrentTasks>
<entry>
<key>TIMER_DRIVEN</key>
<value>1</value>
</entry>
<entry>
<key>EVENT_DRIVEN</key>
<value>0</value>
</entry>
<entry>
<key>CRON_DRIVEN</key>
<value>1</value>
</entry>
</defaultConcurrentTasks>
<defaultSchedulingPeriod>
<entry>
<key>TIMER_DRIVEN</key>
<value>0 sec</value>
</entry>
<entry>
<key>CRON_DRIVEN</key>
<value>* * * * * ?</value>
</entry>
</defaultSchedulingPeriod>
<descriptors>
<entry>
<key>Line Split Count</key>
<value>
<description>The number of lines that will be added to each split file</description>
<displayName>Line Split Count</displayName>
<dynamic>false</dynamic>
<name>Line Split Count</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Header Line Count</key>
<value>
<defaultValue>0</defaultValue>
<description>The number of lines that should be considered part of the header; the
header lines will be duplicated to all split files
</description>
<displayName>Header Line Count</displayName>
<dynamic>false</dynamic>
<name>Header Line Count</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Remove Trailing Newlines</key>
<value>
<allowableValues>
<displayName>true</displayName>
<value>true</value>
</allowableValues>
<allowableValues>
<displayName>false</displayName>
<value>false</value>
</allowableValues>
<defaultValue>true</defaultValue>
<description>Whether to remove newlines at the end of each split file. This should
be false if you intend to merge the split files later
</description>
<displayName>Remove Trailing Newlines</displayName>
<dynamic>false</dynamic>
<name>Remove Trailing Newlines</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
</descriptors>
<lossTolerant>false</lossTolerant>
<penaltyDuration>30 sec</penaltyDuration>
<properties>
<entry>
<key>Line Split Count</key>
<value>1</value>
</entry>
<entry>
<key>Header Line Count</key>
<value>0</value>
</entry>
<entry>
<key>Remove Trailing Newlines</key>
<value>true</value>
</entry>
</properties>
<runDurationMillis>0</runDurationMillis>
<schedulingPeriod>0 sec</schedulingPeriod>
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy>
<yieldDuration>1 sec</yieldDuration>
</config>
<name>split log file and feed line by line</name>
<relationships>
<autoTerminate>true</autoTerminate>
<description>If a file cannot be split for some reason, the original file will be routed to this
destination and nothing will be routed elsewhere
</description>
<name>failure</name>
</relationships>
<relationships>
<autoTerminate>true</autoTerminate>
<description>The original input file will be routed to this destination when it has been
successfully split into 1 or more files
</description>
<name>original</name>
</relationships>
<relationships>
<autoTerminate>false</autoTerminate>
<description>The split files will be routed to this destination when an input file is
successfully split into 1 or more split files
</description>
<name>splits</name>
</relationships>
<state>STOPPED</state>
<style/>
<supportsEventDriven>true</supportsEventDriven>
<supportsParallelProcessing>true</supportsParallelProcessing>
<type>org.apache.nifi.processors.standard.SplitText</type>
</processors>
<processors>
<id>e645fbe2-459e-4bd0-b993-3dda36856ae2</id>
<parentGroupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</parentGroupId>
<position>
<x>165.4239501953125</x>
<y>76.68282318115234</y>
</position>
<config>
<bulletinLevel>WARN</bulletinLevel>
<comments></comments>
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount>
<defaultConcurrentTasks>
<entry>
<key>TIMER_DRIVEN</key>
<value>1</value>
</entry>
<entry>
<key>EVENT_DRIVEN</key>
<value>0</value>
</entry>
<entry>
<key>CRON_DRIVEN</key>
<value>1</value>
</entry>
</defaultConcurrentTasks>
<defaultSchedulingPeriod>
<entry>
<key>TIMER_DRIVEN</key>
<value>0 sec</value>
</entry>
<entry>
<key>CRON_DRIVEN</key>
<value>* * * * * ?</value>
</entry>
</defaultSchedulingPeriod>
<descriptors>
<entry>
<key>Input Directory</key>
<value>
<description>The input directory from which to pull files</description>
<displayName>Input Directory</displayName>
<dynamic>false</dynamic>
<name>Input Directory</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>true</supportsEl>
</value>
</entry>
<entry>
<key>File Filter</key>
<value>
<defaultValue>[^\.].*</defaultValue>
<description>Only files whose names match the given regular expression will be
picked up
</description>
<displayName>File Filter</displayName>
<dynamic>false</dynamic>
<name>File Filter</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Path Filter</key>
<value>
<description>When Recurse Subdirectories is true, then only subdirectories whose
path matches the given regular expression will be scanned
</description>
<displayName>Path Filter</displayName>
<dynamic>false</dynamic>
<name>Path Filter</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Batch Size</key>
<value>
<defaultValue>10</defaultValue>
<description>The maximum number of files to pull in each iteration</description>
<displayName>Batch Size</displayName>
<dynamic>false</dynamic>
<name>Batch Size</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Keep Source File</key>
<value>
<allowableValues>
<displayName>true</displayName>
<value>true</value>
</allowableValues>
<allowableValues>
<displayName>false</displayName>
<value>false</value>
</allowableValues>
<defaultValue>false</defaultValue>
<description>If true, the file is not deleted after it has been copied to the
Content Repository; this causes the file to be picked up continually and is
useful for testing purposes. If not keeping original NiFi will need write
permissions on the directory it is pulling from otherwise it will ignore the
file.
</description>
<displayName>Keep Source File</displayName>
<dynamic>false</dynamic>
<name>Keep Source File</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Recurse Subdirectories</key>
<value>
<allowableValues>
<displayName>true</displayName>
<value>true</value>
</allowableValues>
<allowableValues>
<displayName>false</displayName>
<value>false</value>
</allowableValues>
<defaultValue>true</defaultValue>
<description>Indicates whether or not to pull files from subdirectories
</description>
<displayName>Recurse Subdirectories</displayName>
<dynamic>false</dynamic>
<name>Recurse Subdirectories</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Polling Interval</key>
<value>
<defaultValue>0 sec</defaultValue>
<description>Indicates how long to wait before performing a directory listing
</description>
<displayName>Polling Interval</displayName>
<dynamic>false</dynamic>
<name>Polling Interval</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Ignore Hidden Files</key>
<value>
<allowableValues>
<displayName>true</displayName>
<value>true</value>
</allowableValues>
<allowableValues>
<displayName>false</displayName>
<value>false</value>
</allowableValues>
<defaultValue>true</defaultValue>
<description>Indicates whether or not hidden files should be ignored</description>
<displayName>Ignore Hidden Files</displayName>
<dynamic>false</dynamic>
<name>Ignore Hidden Files</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Minimum File Age</key>
<value>
<defaultValue>0 sec</defaultValue>
<description>The minimum age that a file must be in order to be pulled; any file
younger than this amount of time (according to last modification date) will be
ignored
</description>
<displayName>Minimum File Age</displayName>
<dynamic>false</dynamic>
<name>Minimum File Age</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Maximum File Age</key>
<value>
<description>The maximum age that a file must be in order to be pulled; any file
older than this amount of time (according to last modification date) will be
ignored
</description>
<displayName>Maximum File Age</displayName>
<dynamic>false</dynamic>
<name>Maximum File Age</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Minimum File Size</key>
<value>
<defaultValue>0 B</defaultValue>
<description>The minimum size that a file must be in order to be pulled
</description>
<displayName>Minimum File Size</displayName>
<dynamic>false</dynamic>
<name>Minimum File Size</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Maximum File Size</key>
<value>
<description>The maximum size that a file can be in order to be pulled</description>
<displayName>Maximum File Size</displayName>
<dynamic>false</dynamic>
<name>Maximum File Size</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
</descriptors>
<lossTolerant>false</lossTolerant>
<penaltyDuration>30 sec</penaltyDuration>
<properties>
<entry>
<key>Input Directory</key>
<value>./data/in</value>
</entry>
<entry>
<key>File Filter</key>
<value>[^\.].*</value>
</entry>
<entry>
<key>Path Filter</key>
</entry>
<entry>
<key>Batch Size</key>
<value>10</value>
</entry>
<entry>
<key>Keep Source File</key>
<value>false</value>
</entry>
<entry>
<key>Recurse Subdirectories</key>
<value>true</value>
</entry>
<entry>
<key>Polling Interval</key>
<value>0 sec</value>
</entry>
<entry>
<key>Ignore Hidden Files</key>
<value>true</value>
</entry>
<entry>
<key>Minimum File Age</key>
<value>0 sec</value>
</entry>
<entry>
<key>Maximum File Age</key>
</entry>
<entry>
<key>Minimum File Size</key>
<value>0 B</value>
</entry>
<entry>
<key>Maximum File Size</key>
</entry>
</properties>
<runDurationMillis>0</runDurationMillis>
<schedulingPeriod>0 sec</schedulingPeriod>
<schedulingStrategy>TIMER_DRIVEN</schedulingStrategy>
<yieldDuration>1 sec</yieldDuration>
</config>
<name>load log files from folder</name>
<relationships>
<autoTerminate>false</autoTerminate>
<description>All files are routed to success</description>
<name>success</name>
</relationships>
<state>STOPPED</state>
<style/>
<supportsEventDriven>false</supportsEventDriven>
<supportsParallelProcessing>true</supportsParallelProcessing>
<type>org.apache.nifi.processors.standard.GetFile</type>
</processors>
<processors>
<id>e07d0f0e-a537-49bb-851d-419b23b3f03a</id>
<parentGroupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</parentGroupId>
<position>
<x>848.3656616210938</x>
<y>376.87696075439453</y>
</position>
<config>
<bulletinLevel>WARN</bulletinLevel>
<comments></comments>
<concurrentlySchedulableTaskCount>0</concurrentlySchedulableTaskCount>
<defaultConcurrentTasks>
<entry>
<key>TIMER_DRIVEN</key>
<value>1</value>
</entry>
<entry>
<key>EVENT_DRIVEN</key>
<value>0</value>
</entry>
<entry>
<key>CRON_DRIVEN</key>
<value>1</value>
</entry>
</defaultConcurrentTasks>
<defaultSchedulingPeriod>
<entry>
<key>TIMER_DRIVEN</key>
<value>0 sec</value>
</entry>
<entry>
<key>CRON_DRIVEN</key>
<value>* * * * * ?</value>
</entry>
</defaultSchedulingPeriod>
<descriptors>
<entry>
<key>outbound address</key>
<value>
<description>address where outbound message will be published</description>
<displayName>outbound address</displayName>
<dynamic>false</dynamic>
<name>outbound address</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Vertx Service</key>
<value>
<allowableValues>
<displayName>VertxService</displayName>
<value>6c2a6c92-cf75-4dad-a426-65d0043a39b7</value>
</allowableValues>
<description>The ControllerService that is used to obtain eventBus instance
</description>
<displayName>Vertx Service</displayName>
<dynamic>false</dynamic>
<identifiesControllerService>
com.crossbusiness.nifi.controllers.VertxServiceInterface
</identifiesControllerService>
<name>Vertx Service</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
</descriptors>
<lossTolerant>false</lossTolerant>
<penaltyDuration>30 sec</penaltyDuration>
<properties>
<entry>
<key>outbound address</key>
<value>log</value>
</entry>
<entry>
<key>Vertx Service</key>
<value>6c2a6c92-cf75-4dad-a426-65d0043a39b7</value>
</entry>
</properties>
<runDurationMillis>0</runDurationMillis>
<schedulingPeriod>0 sec</schedulingPeriod>
<schedulingStrategy>EVENT_DRIVEN</schedulingStrategy>
<yieldDuration>1 sec</yieldDuration>
</config>
<name>send log json to EvenBus</name>
<relationships>
<autoTerminate>true</autoTerminate>
<description>any flowFile that cannot be published to EventBus will be routed to failure
</description>
<name>failure</name>
</relationships>
<relationships>
<autoTerminate>true</autoTerminate>
<description>Relationship for successfully received FlowFiles</description>
<name>success</name>
</relationships>
<state>RUNNING</state>
<style/>
<supportsEventDriven>true</supportsEventDriven>
<supportsParallelProcessing>true</supportsParallelProcessing>
<type>com.crossbusiness.nifi.processors.SendEventBus</type>
</processors>
<processors>
<id>6d338d10-f37f-4691-8522-ef5b3da4ee73</id>
<parentGroupId>0cf88730-3e02-4c18-aa67-d6207a0f33bf</parentGroupId>
<position>
<x>845.2362670898438</x>
<y>74.55336843005904</y>
</position>
<config>
<bulletinLevel>WARN</bulletinLevel>
<comments></comments>
<concurrentlySchedulableTaskCount>1</concurrentlySchedulableTaskCount>
<defaultConcurrentTasks>
<entry>
<key>TIMER_DRIVEN</key>
<value>1</value>
</entry>
<entry>
<key>EVENT_DRIVEN</key>
<value>0</value>
</entry>
<entry>
<key>CRON_DRIVEN</key>
<value>1</value>
</entry>
</defaultConcurrentTasks>
<defaultSchedulingPeriod>
<entry>
<key>TIMER_DRIVEN</key>
<value>0 sec</value>
</entry>
<entry>
<key>CRON_DRIVEN</key>
<value>* * * * * ?</value>
</entry>
</defaultSchedulingPeriod>
<descriptors>
<entry>
<key>Sending Host</key>
<value>
<description>IP, or name, of a remote host. Only Datagrams from the specified
Sending Host Port and this host will be accepted. Improves Performance. May be a
system property or an environment variable.
</description>
<displayName>Sending Host</displayName>
<dynamic>false</dynamic>
<name>Sending Host</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>true</supportsEl>
</value>
</entry>
<entry>
<key>Sending Host Port</key>
<value>
<description>Port being used by remote host to send Datagrams. Only Datagrams from
the specified Sending Host and this port will be accepted. Improves Performance.
May be a system property or an environment variable.
</description>
<displayName>Sending Host Port</displayName>
<dynamic>false</dynamic>
<name>Sending Host Port</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>true</supportsEl>
</value>
</entry>
<entry>
<key>Local Network Interface</key>
<value>
<description>The name of a local network interface to be used to restrict listening
for UDP Datagrams to a specific LAN.May be a system property or an environment
variable.
</description>
<displayName>Local Network Interface</displayName>
<dynamic>false</dynamic>
<name>Local Network Interface</name>
<required>false</required>
<sensitive>false</sensitive>
<supportsEl>true</supportsEl>
</value>
</entry>
<entry>
<key>Channel Reader Interval</key>
<value>
<defaultValue>50 ms</defaultValue>
<description>Scheduling interval for each read channel.</description>
<displayName>Channel Reader Interval</displayName>
<dynamic>false</dynamic>
<name>Channel Reader Interval</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>FlowFile Size Trigger</key>
<value>
<defaultValue>1 MB</defaultValue>
<description>Determines the (almost) upper bound size at which a flow file would be
generated.
</description>
<displayName>FlowFile Size Trigger</displayName>
<dynamic>false</dynamic>
<name>FlowFile Size Trigger</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Max Buffer Size</key>
<value>
<defaultValue>1 MB</defaultValue>
<description>Determines the size each receive buffer may be</description>
<displayName>Max Buffer Size</displayName>
<dynamic>false</dynamic>
<name>Max Buffer Size</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Max size of UDP Buffer</key>
<value>
<defaultValue>1 MB</defaultValue>
<description>The maximum UDP buffer size that should be used. This is a suggestion
to the Operating System to indicate how big the udp socket buffer should be.
</description>
<displayName>Max size of UDP Buffer</displayName>
<dynamic>false</dynamic>
<name>Max size of UDP Buffer</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Port</key>
<value>
<description>Port to listen on. Must be known by senders of Datagrams.</description>
<displayName>Port</displayName>
<dynamic>false</dynamic>
<name>Port</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Receive Buffer Count</key>
<value>
<defaultValue>4</defaultValue>
<description>Number of receiving buffers to be used to accept data from the socket.
Higher numbers means more ram is allocated but can allow better throughput.
</description>
<displayName>Receive Buffer Count</displayName>
<dynamic>false</dynamic>
<name>Receive Buffer Count</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>FlowFiles Per Session</key>
<value>
<defaultValue>10</defaultValue>
<description>The number of flow files per session.</description>
<displayName>FlowFiles Per Session</displayName>
<dynamic>false</dynamic>
<name>FlowFiles Per Session</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>
<entry>
<key>Receive Timeout</key>
<value>
<defaultValue>5 secs</defaultValue>
<description>The time out period when waiting to receive data from the socket.
Specify units.
</description>
<displayName>Receive Timeout</displayName>
<dynamic>false</dynamic>
<name>Receive Timeout</name>
<required>true</required>
<sensitive>false</sensitive>
<supportsEl>false</supportsEl>
</value>
</entry>