Skip to content
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

(Kibana -> Discover -> Reporting -> Generate & Download) How to format 'timstamp' field in CSV report #104243

Closed
anjanitsip opened this issue Jul 2, 2021 · 5 comments
Labels
Feature:Reporting:CSV Reporting issues pertaining to CSV file export impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort needs-team Issues missing a team label

Comments

@anjanitsip
Copy link

Kibana version: 7.9.1

Elasticsearch version: 7.9.1

Server OS version:AWS

Browser version:crome

Browser OS version:Win10

Original install method (e.g. download page, yum, from source, etc.):

Description of the problem including expected versus actual behavior:

Steps to reproduce:

  1. We have store the logs in elastic search using fluentd. We are generating a report from kibana UI
  2. Kibana -> discover -> Reporting -> Generate and download CSV
  3. In log we have a timestamp filed
  4. In CSV file the format of timestamp is coming as '7/2/2021 2:38:00 AM'. The second and milli second part is trimmed.

How we can format the timestamp field in the CSV report.

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Describe the feature:

@botelastic botelastic bot added the needs-team Issues missing a team label label Jul 2, 2021
@dmlemeshko
Copy link
Member

Hi @anjanitsip

Please use discuss.elastic.co to address questions about Kibana and other products. There is a chance that you will find a similar question with already mentioned solution. While answering the question on forum, we might confirm the issue and ask to report it.

As for your question I suggest to check this comment

Regards, Dima

@anjanitsip
Copy link
Author

Hi Dima

Thank you for quick response -

I have tried to change the timestamp format using advanced settings -

'x' is Unix Millisecond Timestamp.
image

Change timestamp format reflects in the Kibana UI.

image

CSV file timestamp format is not changing - (still coming as before)

image

Even for the Default Date Format, timestamp format is the same as - '07/02/2021 11:41:00 am' (trim the seconds and millisecond part).

I want to change the timestamp format in the CSV file till milliseconds precision

I have tried multiple things with index and settings but not able to change the format of the timestamp in the CSV file.

Like YYYY-MM-DD HH:mm:ss.SSS

Please suggest

Regards
Anjani

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-reporting-services (Team:Reporting Services)

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jul 8, 2021
@tsullivan
Copy link
Member

Hi, if you are experiencing date formatting issues in 7.9.x, it could be a bug introduced in #67027

CSV formatting was re-written in 7.13: upgrading will fix your issue.

@exalate-issue-sync exalate-issue-sync bot added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort labels Jul 19, 2021
@sophiec20 sophiec20 added Feature:Reporting:CSV Reporting issues pertaining to CSV file export and removed (Deprecated) Team:Reporting Services labels Aug 21, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Reporting:CSV Reporting issues pertaining to CSV file export impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort needs-team Issues missing a team label
Projects
None yet
Development

No branches or pull requests

5 participants