krish0608
(krishna singh)
November 5, 2021, 10:30am
1
Continuing the discussion from Reporting - CSV Export: contains partial data :
Hi Team,
currently we are facing two issues related to csv Export.
If index is frozen then how to export data in csv as we are getting empty data in csv.
If index is not frozen still we are getting empty data in csv.
Sometime we get data/partial data in csv.
Could you please provide solution for this issue.
Note:- We are using kibana 7.9.3.
dokmic
(Michael Dokolin)
November 5, 2021, 2:11pm
2
Hey @krish0608 ,
Thanks for bumping the topic.
Could you maybe provide a bit more context for your problem?
Do you have a CSV heading with column names when there is no data in the resulting CSV?
Are you trying to export all the possible fields? Or is it some limited number of the fields/columns?
Is there a chance that some of the records/documents contain large chunks of data?
What value do you have in xpack.reporting.csv.maxSizeBytes
?
Did you see any errors/warnings in the Elasticsearch logs around the time you triggered report generation?
When you get some occasional non-empty CSV reports, what is their size?
Thanks in advance for your reply.
Best regards,
Mike
krish0608
(krishna singh)
November 9, 2021, 6:35am
3
Hi @dokmic Preformatted text
Do you have a CSV heading with column names when there is no data in the resulting CSV?
---- Yes, Also we have attached excel sheet for reference.
Are you trying to export all the possible fields? Or is it some limited number of the fields/columns?
--- When we apply filter and get certain data, we try to export all things(all columns that are coming in results)
Is there a chance that some of the records/documents contain large chunks of data?
------ Sometimes it happened but we are facing issue even with small data like 5-10 records.
What value do you have in xpack.reporting.csv.maxSizeBytes?
---- Current value : 1048576000
Previously we were using default value i.e. 10 MB. We then moved to 50 MB and issue didn't fixed so we moved to 100 MB and still issue exists.
Did you see any errors/warnings in the Elasticsearch logs around the time you triggered report generation?
-----I don't think so but not 100% sure.
When you get some occasional non-empty CSV reports, what is their size?
----its depends somestimes 100 kB, sometimes 1-2 MB but currently not getting any data in CSV not a single entry but every time we get CSV heading of all columns.!
krish0608
(krishna singh)
November 15, 2021, 11:35am
5
can someone help me regarding it??
tsullivan
(Tim Sullivan)
December 8, 2021, 7:24pm
6
Hi, there are a few known issues which you can check into and see if yours is related:
opened 04:28PM - 24 May 21 UTC
closed 10:30PM - 18 Aug 21 UTC
bug
feedback_needed
Feature:Reporting
loe:days
Team:AppServicesSv
impact:high
Hi,
We are running Kibana 7.12.0 on docker with a Nginx reverse proxy in fron… t of it.
The version of the Elastic cluster is also 7.12.0.
After I save the search in Discovery section and do Share, the status of the report shows as completed. However, the downloaded .csv contains only the name of the fields on the first row. The data shown in Discovery is not in the .csv.
These are the reporting settings in kibana.yml:
xpack.reporting.enabled: true
xpack.reporting.queue.timeout: 600000
xpack.reporting.kibanaServer.port: 443
xpack.reporting.kibanaServer.protocol: https
xpack.reporting.kibanaServer.hostname: 0.0.0.0
xpack.reporting.encryptionKey: "..."
xpack.reporting.csv.maxSizeBytes: 1048576000
xpack.reporting.csv.scroll.size: 1048576000
xpack.reporting.csv.scroll.duration: 10m
Can you help us identify the issues ?
Thank you
opened 02:32AM - 22 Jun 20 UTC
closed 12:47AM - 02 Mar 21 UTC
bug
feedback_needed
Feature:Reporting
Team:AppServicesSv
triaged
Team:Reporting Services
**Kibana version:**
7.7.1
**Elasticsearch version:**
7.7.1
**Server OS versi… on:**
Ubuntu 18.04
**Browser version:**
Google Chrome Version 83.0.4103.61
**Browser OS version:**
macOS Catalina 10.15.3
**Original install method (e.g. download page, yum, from source, etc.):**
Docker
**Describe the bug:**
Saved search exports an empty csv if an end time in the future is selected. This comes up when we use the commonly used date ranges like - Today, This Month.
**Steps to reproduce:**
1. Create a dashboard using a saved search
2. Set time range as `This Month`, or any range with a future end date
3. Download the table as csv. The csv will contain only headers, no data.
4. Change the end date to `now`
5. Again download the table as csv. The csv will contain data this time.
**Expected behavior:**
The csv should contain data even if the end date is in future.
**Screenshots (if relevant):**
Not relevant
**Errors in browser console (if relevant):**
No errors in browser.
**Provide logs and/or server output (if relevant):**
No error logs in server.
**Any additional context:**
First learned about the error [here](https://discuss.elastic.co/t/kibana-saved-search-exports-an-empty-csv-if-an-end-time-in-the-future-is-selected/233327)
opened 03:13PM - 08 Aug 19 UTC
closed 08:14PM - 12 Aug 19 UTC
bug
Feature:Reporting
**Kibana version:** 7.3.0
**Elasticsearch version:** 7.3.0
**Server OS ver… sion:** centos:7
**Browser version:** Chrome Version 76.0.3809.87 (Official Build) (64-bit)
**Browser OS version:** MacOS Mojave (Version 10.14.4)
**Original install method (e.g. download page, yum, from source, etc.):** docker.elastic.co/kibana/kibana:7.3.0
**Describe the bug:** Following the instructions in https://github.com/elastic/kibana/pull/34571, I enabled `xpack.reporting.csv.enablePanelActionDownload: true` in the config.
The `Download csv...` button now appears. For saved searches on index patterns with no time column defined the csv is generated fine. However for saved searches on index patterns with a time column the csv files are generated empty (the headers are there but no records, even though I do see rows in the dashboard).
**Steps to reproduce:**
1. Set `xpack.reporting.csv.enablePanelActionDownload: true` in config
2. Create an index pattern with a time column
3. Create a saved search on that index pattern
4. Create a dashboard with that saved search
5. Filter the time so that the dashboard have rows
6. Click on "..." for the saved search panel, and then on "Download csv"
**Expected behavior:**
The csv should have the same rows that the dashboard has.
@joelgriffith @tsullivan
system
(system)
Closed
January 5, 2022, 7:24pm
7
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.