Member since
04-25-2021
5
Posts
0
Kudos Received
0
Solutions
09-02-2021
04:00 PM
I want to access bucket/Sample/s3bucket/file1.xml what should be the expression for this Thanks for your help (I just need the correct expression I am new to nifi)
... View more
Labels:
- Labels:
-
Apache NiFi
08-06-2021
12:15 PM
So my AWS bucket has test/Folder1/06-08-2021 test/Folder1/06-07-2021 test/Folder1/06-06-2021 I am getting daily new files I already have a process that already picks up the files and moves them to new bucket from the respective dates i.e. for example I received today some files so my existing process will pick the files and move to the required location. My ISSUE is how to clear up these empty - 06-08-2021 folder from Folder1 from my bucket (test). Can you please suggest a solution. Thanks
... View more
- Tags:
- apache nifi
Labels:
- Labels:
-
Apache NiFi
05-06-2021
05:44 AM
Now my files are getting rolled on daily basis But they are not getting deleted. <appender name="APP_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> <!---<file>${org.apache.nifi.bootstrap.config.log.dir}/nifi-app.log</file>--> <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> <!-- For daily rollover, use 'app_%d.log'. For hourly rollover, use 'app_%d{yyyy-MM-dd_HH}.log'. To GZIP rolled files, replace '.log' with '.log.gz'. To ZIP rolled files, replace '.log' with '.log.zip'. --> <fileNamePattern>${org.apache.nifi.bootstrap.config.log.dir}/nifi-app_%d.log</fileNamePattern> <!-- keep 30 log files worth of history --> <maxHistory>1</maxHistory> </rollingPolicy> <immediateFlush>true</immediateFlush> <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> <pattern>%date %level [%thread] %logger{40} %msg%n</pattern> </encoder> </appender>
... View more
04-26-2021
06:34 AM
I am new to nifi and I want nifi logs to roll daily with no retention policy Is this configuration correct? Another question was do we need to restart nifi after updating logback.xml file? <appender name="APP_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<!---<file>${org.apache.nifi.bootstrap.config.log.dir}/nifi-app.log</file>-->
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<fileNamePattern>${org.apache.nifi.bootstrap.config.log.dir}/nifi-app_%d.log</fileNamePattern>
<maxFileSize>1GB</maxFileSize>
<!-- keep 30 log files worth of history -->
<maxHistory>1</maxHistory>
</rollingPolicy>
<immediateFlush>true</immediateFlush>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<pattern>%date %level [%thread] %logger{40} %msg%n</pattern>
</encoder>
</appender> Version - 1.11.4 Thank you
... View more
- Tags:
- logback
- NiFi 1.11.4
Labels:
- Labels:
-
Apache NiFi