mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
- just print matching lines
This commit is contained in:
parent
418efeb2fd
commit
5c8bef85db
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ if __FILE__ == $0
|
|||
ap query
|
||||
i.search(query) do |key, value|
|
||||
#ap [key, value["@DATE"], value["@LINE"]]
|
||||
#puts value["@LINE"]
|
||||
ap value
|
||||
puts value["@LINE"]
|
||||
#ap value
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue