- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![Splunk Employee Splunk Employee](/html/@F88B7774A2BF2E9108D79A067A92A581/rank_icons/employee-16.png)
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![jrodman jrodman](https://community.splunk.com/legacyfs/online/avatars/35.jpg)
![Splunk Employee Splunk Employee](/html/@F88B7774A2BF2E9108D79A067A92A581/rank_icons/employee-16.png)
Run the command:
splunk diag
a splunk-diag.tar.gz file should be generated in your $SPLUNK_HOME dir.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![Splunk Employee Splunk Employee](/html/@F88B7774A2BF2E9108D79A067A92A581/rank_icons/employee-16.png)
Instructions how to Generate a Diag file to send to support, including how to Anonymize that diagnostic file.
http://docs.splunk.com/Documentation/Splunk/6.0.2/Troubleshooting/Generateadiag
link text
http://docs.splunk.com/Documentation/Splunk/6.0/Troubleshooting/ContactSplunkSupport
link text
http://docs.splunk.com/Documentation/Splunk/6.0.2/Troubleshooting/AnonymizedatasamplestosendtoSuppor...
link text
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![jrodman jrodman](https://community.splunk.com/legacyfs/online/avatars/35.jpg)
![Splunk Employee Splunk Employee](/html/@F88B7774A2BF2E9108D79A067A92A581/rank_icons/employee-16.png)
Run the command:
splunk diag
a splunk-diag.tar.gz file should be generated in your $SPLUNK_HOME dir.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![Splunk Employee Splunk Employee](/html/@F88B7774A2BF2E9108D79A067A92A581/rank_icons/employee-16.png)
You can get additional options, such as excluding files, by running the help command:
./splunk diag -help help
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![jrodman jrodman](https://community.splunk.com/legacyfs/online/avatars/35.jpg)
![Splunk Employee Splunk Employee](/html/@F88B7774A2BF2E9108D79A067A92A581/rank_icons/employee-16.png)
This changed a bit at some point to need only ./splunk diag --help
or splunk help diag
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![jrodman jrodman](https://community.splunk.com/legacyfs/online/avatars/35.jpg)
![Splunk Employee Splunk Employee](/html/@F88B7774A2BF2E9108D79A067A92A581/rank_icons/employee-16.png)
Heh, note I just changed this so it will be called something like diag-splunkserver-2010-4-5.tar.gz. Coming in 4.1.1 or .2 or so.
And again for 6.2.x soon it will include the time of day upon QA & support request.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How can I email and share the diag with another team? What would be the required steps that I have to take through CLI?
![](/skins/images/89D5ADE867CBAF0B5A525B7E23D83D7E/responsive_peak/images/icon_anonymous_message.png)