This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input | |
{ | |
file | |
{ | |
path=>"<log file dir>/*.log" | |
start_position=>"beginning" | |
} | |
} | |
filter { | |
grok { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
total_count = 0 | |
Dir['features/**/*.feature'].each do |file| | |
a= IO.read(file).split("\n").map do |x| | |
x.rstrip.lstrip | |
end | |
a = a.select{|x| x !=nil && x != ""} | |
printed_file = false | |
next if a[0].nil? | |
if a[0].downcase.include? "@wip" | |
p file.to_s |