Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): I am not sure
Describe the issue:
My question is that if I schedule a reporting. So I have a report definition and a report is generated every day/week… Is the csv stored somewhere on the server? or is it generated when I click the download button. Currently it is inconvenient to download each csv I wonder how I could automate it. Currently, the cli tool is not installed. I attach a picture, I would be happy to find those csv on the server.
The documentation is not to clear regarding this option.
Another thing, I am currently using it with Wazuh or part of Wazuh. Therefore, I am also not sure if the cli tool would work or not. Configuration:
@Solaris I’ve generated the CSV report in Discovery but I couldn’t find any copy in the OpenSearch Dashboards’ filesystem.
Therefore, I don’t think CSV file is created in the local filesystem.
I also tried to cli however, I am getting an error:
opensearch-reporting-cli -u https://localhost/goto/79558d6822ad53d08070150bc5570294 -f csv
/usr/local/lib/node_modules/@opensearch-project/reporting-cli/src/download-helpers.js:86
?.remove();
^
SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/usr/local/lib/node_modules/@opensearch-project/reporting-cli/src/run.js:7:24)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)