mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- Add result counts, prep for paging
This commit is contained in:
parent
5d6977d05f
commit
0838a8bbe7
1 changed files with 9 additions and 0 deletions
|
@ -9,6 +9,15 @@
|
|||
var graphdata = #{@graphpoints.to_json};
|
||||
window.logstash.plot(graphdata);
|
||||
});
|
||||
- if @total and @result_start and @result_end
|
||||
%small
|
||||
%strong
|
||||
Results #{@result_start} - #{@result_end} of #{@total}
|
||||
|
|
||||
%a
|
||||
prev
|
||||
%a
|
||||
next
|
||||
%ul.results
|
||||
- @hits.reverse.each do |hit|
|
||||
%li.event{ :"data-full" => hit.to_json }&= hit["_source"]["@message"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue