1.查看某一段时间的日志
#cat hdfs-audit.log | sed -n '/2018-04-11 10:00:00/,/2018-04-11 10:01:00/ p' | more ---直接使用时间段#cat hdfs-audit.log | sed -n '/2
1.查看某一段时间的日志
#cat hdfs-audit.log | sed -n '/2018-04-11 10:00:00/,/2018-04-11 10:01:00/ p' | more ---直接使用时间段#cat hdfs-audit.log | sed -n '/2