# Kibana search query | preceding and following log search details

**URL:** https://discuss.elastic.co/t/kibana-search-query-preceding-and-following-log-search-details/35264
**Category:** Kibana
**Created:** [November 23, 2015, 4:34am UTC](https://discuss.elastic.co/t/kibana-search-query-preceding-and-following-log-search-details/35264 "2015-11-23T04:34:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pramodmax](https://avatars.discourse-cdn.com/v4/letter/p/7c8e57/32.png) [@pramodmax](https://discuss.elastic.co/u/pramodmax)
#### Post date: [November 23, 2015, 4:34am UTC](https://discuss.elastic.co/t/kibana-search-query-preceding-and-following-log-search-details/35264/1 "2015-11-23T04:34:54Z")

</div>

Hi Team,

I want to search where  
Step1: Search a keyword to look for the log  
Step2: check the preceding or following log search details based logdetails

Example  
3:01 log1 precedingdata  
3:02 log1 xyz  
3:03 log1 followingdata

For the above details, Search the kibana for the keyword "xyz" will provide me the 3:02 log. Based on the search result how do I get the precedingdata[3:01 time log] and followingdata [3:03 time log]

Request any one to let me know how to achieve this?

kind regards  
Pramod

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [November 23, 2015, 4:38am UTC](https://discuss.elastic.co/t/kibana-search-query-preceding-and-following-log-search-details/35264/2 "2015-11-23T04:38:27Z")

</div>

What you want is discussed here - [https://github.com/elastic/kibana/issues/275](https://github.com/elastic/kibana/issues/275)

---

<div class="post-metadata">

### Author: ![pramodmax](https://avatars.discourse-cdn.com/v4/letter/p/7c8e57/32.png) [@pramodmax](https://discuss.elastic.co/u/pramodmax)
#### Post date: [November 23, 2015, 9:20pm UTC](https://discuss.elastic.co/t/kibana-search-query-preceding-and-following-log-search-details/35264/3 "2015-11-23T21:20:17Z")

</div>

Thank you Warklom for directing me to the right location. Hope this feature comes soon ☹

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 2:08pm UTC](https://discuss.elastic.co/t/kibana-search-query-preceding-and-following-log-search-details/35264/4 "2017-07-06T14:08:27Z")

</div>


