Skip to content

time resolution, is there a way to change it ? #267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zerthimon opened this issue Feb 12, 2019 · 5 comments
Closed

time resolution, is there a way to change it ? #267

zerthimon opened this issue Feb 12, 2019 · 5 comments
Labels

Comments

@zerthimon
Copy link

The messages that appear in container log sometimes have different order in elasticsearch.
Is there a way to change time res to nanosec ?

@zerthimon
Copy link
Author

zerthimon commented Feb 27, 2019

hmm, in the source there is a block

  <parse>
    @type json
    time_format %Y-%m-%dT%H:%M:%S.%NZ
  </parse>

Also I have this date in ES docs:

    "@timestamp": "2019-02-27T19:29:54.025305658+00:00",
    "tag": "kubernetes.var.log.containers.image-generator-f9f75c5b7-l7q5l_stage-image-generator_image-generator-46c7a67c95b50f845fc7c5b98762f55ac6541562193bfcf914bcfe4e5671d195.log"
  },
  "fields": {
    "@timestamp": [
      "2019-02-27T19:29:54.025Z"
    ]
  },

So this looks like I need to tell kibana to use the first @timestamp field somehow

@repeatedly
Copy link
Member

AFAIK, ES doesn't support nanosecond timestampe yet.

@cosmo0920
Copy link
Contributor

Elasticsearch 7 will include nanoseconds precision timestamp:
elastic/elasticsearch#37755

It will be able to use date_nanos field type.
If you are interested in nano precison timestamp, could you use ES 7.x beta?

@github-actions
Copy link

github-actions bot commented Mar 1, 2021

This issue has been automatically marked as stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days

@github-actions github-actions bot added the stale label Mar 1, 2021
@github-actions
Copy link

github-actions bot commented Apr 1, 2021

This issue was automatically closed because of stale in 30 days

@github-actions github-actions bot closed this as completed Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants