# Query String Syntax for timestamp like this: 12:30:42:069

**URL:** <https://discuss.elastic.co/t/query-string-syntax-for-timestamp-like-this-1242-069/198287>\
**Category:** Logstash\
**Created:** [September 5, 2019, 3:51pm UTC](https://discuss.elastic.co/t/query-string-syntax-for-timestamp-like-this-1242-069/198287 "2019-09-05T15:51:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmiklas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kmiklas/32/50730_2.png) [@kmiklas](https://discuss.elastic.co/u/kmiklas)\
**Post date:** [September 5, 2019, 3:51pm UTC](https://discuss.elastic.co/t/query-string-syntax-for-timestamp-like-this-1242-069/198287/1 "2019-09-05T15:51:25Z")

</div>

I'm trying to isolate a range based on custom timestamps; example:

> myTimestamp: 12:30:42:069

Date type: string

I'm getting this error:

> Discover: Expected AND, OR, end of input, whitespace but ":" found.

Attempts at QSS:

```
myTimestamp >12:30:42:069 // nope
myTimestamp >'12:30:42:069' // nope
myTimestamp >"12:30:42:069" // nope
myTimestamp.keyword >12:30:42:069 // nope
myTimestamp.keyword >'12:30:42:069' // nope
myTimestamp.keyword >"12:30:42:069" // nope

```

How can I apply this filter condition?

Thx, Keith :^)

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [September 5, 2019, 5:12pm UTC](https://discuss.elastic.co/t/query-string-syntax-for-timestamp-like-this-1242-069/198287/2 "2019-09-05T17:12:32Z")

</div>

That's not a logstash question, you might get an answer if you move the question to the kibana forum.

---

<div class="post-metadata">

**Author:** ![kmiklas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kmiklas/32/50730_2.png) [@kmiklas](https://discuss.elastic.co/u/kmiklas)\
**Post date:** [September 5, 2019, 5:36pm UTC](https://discuss.elastic.co/t/query-string-syntax-for-timestamp-like-this-1242-069/198287/3 "2019-09-05T17:36:12Z")

</div>

Ooh sorry I meant to post there.

---

<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:** [October 3, 2019, 5:36pm UTC](https://discuss.elastic.co/t/query-string-syntax-for-timestamp-like-this-1242-069/198287/4 "2019-10-03T17:36:17Z")

</div>

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