# Is it possible to show old logs(previous year) in the ELK a visualization?

**URL:** https://discuss.elastic.co/t/is-it-possible-to-show-old-logs-previous-year-in-the-elk-a-visualization/242747
**Category:** Kibana
**Created:** [July 27, 2020, 12:41pm UTC](https://discuss.elastic.co/t/is-it-possible-to-show-old-logs-previous-year-in-the-elk-a-visualization/242747 "2020-07-27T12:41:00Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![myasonik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/myasonik/32/62369_2.png) [@myasonik](https://discuss.elastic.co/u/myasonik)
#### Post date: [July 27, 2020, 8:37pm UTC](https://discuss.elastic.co/t/is-it-possible-to-show-old-logs-previous-year-in-the-elk-a-visualization/242747/3 "2020-07-27T20:37:44Z")

</div>

Hey @nikhilesh!

If you're hoping to use general UI around Kibana like various date pickers to automatically select things a year before what the user selected, that's going to be tricky.

One thing you could try is to before ingesting your data, create a field that's one year off from your actual date and set this field as your `@timestamp` for a new index.

Otherwise, if you only need this in one specific visualization, you can do this inside of Canvas.  
First add time filter controls. Then to your other visualizations, you can edit their scripts to offset the time. (You can find an example on how to do that in this [other Discuss question](https://discuss.elastic.co/t/wrong-canvas-timezone/190221/6)).

---

_[View the full topic](https://discuss.elastic.co/t/is-it-possible-to-show-old-logs-previous-year-in-the-elk-a-visualization/242747)._
