# Live tail configuration

**URL:** <https://forum.opensearch.org/t/live-tail-configuration/12614>\
**Category:** Observability\
**Created:** [February 23, 2023, 10:44am UTC](https://forum.opensearch.org/t/live-tail-configuration/12614 "2023-02-23T10:44:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sndl](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@sndl](https://forum.opensearch.org/u/sndl)\
**Post date:** [February 23, 2023, 10:44am UTC](https://forum.opensearch.org/t/live-tail-configuration/12614/1 "2023-02-23T10:44:47Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser): OpenSearch 2.3.0 AWS managed, Brave v1.48.158

**Describe the issue** :  
I have two date fields (`indexed_at` and `timestamp`) is it possible to select which one will be used by the plugin? At the moment it uses `indexed_at` when sending requests from UI to backend, it suits me, but I don’t know if it may change later if I don’t specify the field explicitly.

My idea is to use `indexed_at` to query the backend and `timestamp` for sorting, because otherwise I can miss some documents if document become searchable even 1 second later than timestamp due to the nature of plugin queries to backend. But it doesn’t work out, because live tail request appends sorting by `indexed_at`.

**Configuration** :

My query: `source = nonprod-dev5-log-2023-02-23 | sort - timestamp`

When I click refresh button UI sends this:

```auto
source=nonprod-dev5-log-2023-02-23 | where indexed_at >= '2023-02-23 10:24:24' and indexed_at <= '2023-02-23 10:39:24' | sort - timestamp

```

When I click live with 10s interval UI sends this (appended sort):

```auto
source=nonprod-dev5-log-2023-02-23 | where indexed_at >= '2023-02-23 10:40:03' and indexed_at <= '2023-02-23 10:40:13' | sort - timestamp | sort - indexed_at

```

---

<div class="post-metadata">

**Author:** ![dtaivpp](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/dtaivpp/32/2814_2.png) [@dtaivpp](https://forum.opensearch.org/u/dtaivpp)\
**Post date:** [February 24, 2023, 7:38pm UTC](https://forum.opensearch.org/t/live-tail-configuration/12614/2 "2023-02-24T19:38:11Z")

</div>

At the moment I don’t believe so. It uses whichever is defined as the time field from the index pattern.

That sounds like its the perfect candidate for a feature request. I can imagine a lot of people would be interested in that as well.

> **[Build software better, together](https://github.com/opensearch-project/dashboards-observability/issues/new?assignees=&labels=enhancement%2C%2Buntriaged&template=feature_request.md&title=%5BFEATURE%5D)**
>
> GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 330 million projects.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/3/33547ea01a5b12dcca2958411d3edd97ae2ea8c1.png) [@system](https://forum.opensearch.org/u/system)\
**Post date:** [April 25, 2023, 7:38pm UTC](https://forum.opensearch.org/t/live-tail-configuration/12614/3 "2023-04-25T19:38:59Z")

</div>

Closed on April 25, 2023, 7:38pm UTC

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