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

**URL:** <https://discuss.elastic.co/t/query-string-syntax-for-timestamp-like-this-1242-070/198299>\
**Category:** Kibana\
**Created:** [September 5, 2019, 5:38pm UTC](https://discuss.elastic.co/t/query-string-syntax-for-timestamp-like-this-1242-070/198299 "2019-09-05T17:38:04Z")\
**Posts on this page:** 3\
**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, 5:38pm UTC](https://discuss.elastic.co/t/query-string-syntax-for-timestamp-like-this-1242-070/198299/1 "2019-09-05T17:38:04Z")

</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:** ![jchivian](https://avatars.discourse-cdn.com/v4/letter/j/838e76/32.png) [@jchivian](https://discuss.elastic.co/u/jchivian)\
**Post date:** [September 5, 2019, 8:13pm UTC](https://discuss.elastic.co/t/query-string-syntax-for-timestamp-like-this-1242-070/198299/2 "2019-09-05T20:13:03Z")

</div>

I've never seen that notation considered to be a valid timestamp format. If you can transform the last colon ":" into a dot "." you probably won't have this issue. "12:32:40.069" That's essentially what the error is telling you, that the last ":" is unexpected. I know that doesn't really answer the question posed, but it might get you to where you need to be.

---

<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, 8:13pm UTC](https://discuss.elastic.co/t/query-string-syntax-for-timestamp-like-this-1242-070/198299/3 "2019-10-03T20:13:05Z")

</div>

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