# How to filter the particular timestamp in KQL field

**URL:** https://discuss.elastic.co/t/how-to-filter-the-particular-timestamp-in-kql-field/340655
**Category:** Kibana
**Created:** [August 11, 2023, 4:37pm UTC](https://discuss.elastic.co/t/how-to-filter-the-particular-timestamp-in-kql-field/340655 "2023-08-11T16:37:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sanjeev1895](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@sanjeev1895](https://discuss.elastic.co/u/sanjeev1895)
#### Post date: [August 11, 2023, 4:37pm UTC](https://discuss.elastic.co/t/how-to-filter-the-particular-timestamp-in-kql-field/340655/1 "2023-08-11T16:37:10Z")

</div>

Hi  
Can anyone tell me the how to search the particular timestamp in KQL.

Am I using the below format in logstash filter.  
` time_stamp 11/Aug/2023:16:31:44 +0000`

So how to use this time\_stamp field and grep the logs. Example, between 1`1/Aug/2023:16:31:44 to 11/Aug/2023:16:35:44`

Thanks.

---

<div class="post-metadata">

### Author: ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)
#### Post date: [August 11, 2023, 4:58pm UTC](https://discuss.elastic.co/t/how-to-filter-the-particular-timestamp-in-kql-field/340655/2 "2023-08-11T16:58:34Z")

</div>

You can use:

- `@timestamp >="2023-08-11T16:31:44.000" and @timestamp <="2023-08-11T16:35:44.000"`
- or simplier just use + for filtering on your field and "is between"  
As time format you can use: 2023-08-11T16:33:46.299+02:00 or 2023-08-11T14:33:46.299Z .

---

<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: [September 8, 2023, 4:58pm UTC](https://discuss.elastic.co/t/how-to-filter-the-particular-timestamp-in-kql-field/340655/3 "2023-09-08T16:58:52Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
