Comments (3)
I think it would be best for -o
to only set the directory where the output file should be placed and not the entire path and filename. If we really think it's necessary to allow for changing the filename as well, then we probably need another argument for that, -f
.
Currently
-o /myfolder
=> /myfolder.tar.gz
Instead it should be
-o /myfolder
=> /myfolder/support-diagnostics-20140930-host.tar.gz
If just a name is given and not a path, then just create that folder in the present working directory:
-o myfolder
=> ./myfolder/support-diagnostics-20140930-host.tar.gz
If we want to allow the filename to be changed from the default support-diagnostics-yyyymmmdd-host
format, then introduce -f
:
-o /myfolder -f mydata
=> /myfolder/mydata.tar.gz
I believe doing this will solve the issue without leaving the folder around after compressing it.
from support-diagnostics.
huge +1 on -o
only specifying the folder it should be placed under, that way the script can
- gather files in a folder in an OS specific
tmp
folder - zip it to
-o
- then
rm
the known folder intmp
instead of$outputdir
from support-diagnostics.
Should be fixed in the 2.x release. If not please reopen.
from support-diagnostics.
Related Issues (20)
- Can't import monitoring data to ESS
- get kibana diagnostics for all kibana nodes
- Fleet API in Kibana - Pull ALL the Agents
- Tokens not getting scrubbed? HOT 2
- [Enhancement] Fetch cluster logs in json format HOT 2
- Unable to find published index HOT 1
- Set new header for diag requests to Kibana on serverless HOT 7
- how to do analysis of this diagnostics report
- Add GET _health_report/shards_capacity to support diagnostic
- Certificates do not conform to algorithm constraints
- Add Kibana Reporting diagnostics HOT 5
- Error trying to clean files at end of running the Diagnostics.bat on windows HOT 2
- Docker emulation as podman
- Collects Kibana Upgrade Assistant API output
- monitoring export : Read time out cause truncated data without retrying
- Any reason for export-monitoring.sh to limit interval between 1 to 12 hours? HOT 1
- Elastic Support Diagnostics blocked by Cisco Endpoint protection HOT 2
- Add support for sanitizing kibana and logstash bundles
- Add support for API key to execute diag
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from support-diagnostics.