For contact information, see the main Support contact page.
Here is some information on tools and techniques Splunk Support uses to diagnose problems. Many of these you can try yourself.
Note: Before you send any files or information to Splunk Support, verify that you are comfortable with sending it to us. We try to ensure that no sensitive information is included in any output from the commands below and in "Anonymize data samples to send to Support" in this manual, but we cannot guarantee compliance with your particular security policy.
The diag command collects basic info about your Splunk server, including Splunk's configuration details (such as the contents of
$SPLUNK_HOME/etc and general details about your index, like the host and source names). It does not include any event data or private information.
Be sure to run diag as a user with appropriate access to read Splunk files.
If you have difficultly running diag in your environment, you can also run the python script directly from the bin directory using cmd.
./splunk cmd python ../lib/python2.7/site-packages/splunk/clilib/info_gather.py
splunk cmd python ..\Python-2.7\Lib\site-packages\splunk\clilib\info_gather.py
diag-<server name>-<date>.tar.gz (or .zip), which you can send to Splunk Support for troubleshooting. If you're having trouble with forwarding, Support will probably need to see a diag for both your forwarder and your receiver.
Note: Before you upload, make sure the user who uploads the file has read permissions to the diag*.tar.gz file.
Upload your diag output to your Support case here:
- Enterprise Support: http://www.splunk.com/index.php/track_issues
- Community Members: https://www.splunk.com/index.php/send_to_splunk
Excluding files from a diag
Diag can be told to leave some files out of the diag with the switch
--exclude. For example:
splunk diag --exclude "*/passwd"
This is repeatable:
splunk diag --exclude "*/passwd" --exclude "*/dispatch/*"
Defaults can also be controlled in server.conf. Refer to server.conf.spec in the Admin Manual for more information.
To collect a core file if Support asks you for one, use
ulimit to remove any maximum file size setting before starting Splunk.
# ulimit -c unlimited
# splunk restart
This setting only affects the processes you start in a particular shell, so you may wish to do it in a new session. For Linux, start Splunk with the --nodaemon option (
splunk start --nodaemon). In another shell, start the web interface manually with
splunk start splunkweb.
Depending on your system, the core may be named something like core.1234, where the number indicates the process ID and is the same location as the splunkd executable.
If you are having trouble setting up LDAP, Support will typically need the following information:
- An ldif for a group you are trying to map roles for.
- An ldif for a user you are trying to authenticate as.
In some instances, a debug
web_service.log is helpful.