mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
- Reset search offset when drilling into the histogram
This commit is contained in:
parent
d0e08d44e7
commit
19ce814677
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,10 @@
|
|||
start = logstash.ms_to_iso8601(item.datapoint[0]);
|
||||
end = logstash.ms_to_iso8601(item.datapoint[0] + 3600000);
|
||||
|
||||
/* Clicking on the graph means a new search, means
|
||||
* we probably don't want to keep the old offset since
|
||||
* the search results will change. */
|
||||
logstash.params.offset = 0;
|
||||
logstash.appendquery("@timestamp:[" + start + " TO " + end + "]");
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue