Contact Support
This documentation does not apply to the most recent version of Splunk. Click here for the latest version.
Contents
Contact Support
For contact information, see the main Support contact page.
Work with Splunk Support
Here is some information on tools and techniques Splunk Support uses to diagnose problems. Many of these you can try yourself.
infoGather
The infoGather script collects basic info about a machine and configuration details for a Splunk instance such as the contents of $SPLUNK_HOME/etc and general details about your index such as host and source names. It does not include any event data. It creates an output file results.tar.gz and must be run as the user who owns the Splunk files on the machine.
# infoGather /opt/splunk/
Splunk Support will provide the script and upload server credentials if this information is needed to diagnose your problem.
Log levels and starting in debug mode
Splunk logging levels can be changed to provide more detail for different features in the splunkd.log. The easiest way is to enable all messages with the --debug option. This does impact performance and should not be used routinely.
- Stop Splunk, if it is running.
- Save your existing splunkd.log file by moving it to a new filename, like splunkd.log.old.
- Restart Splunk in debug mode with "splunk start --debug"
- When you notice the problem, stop Splunk.
- Move the new splunkd.log file elsewhere and replace your old one.
- Restart Splunk normally.
Specific areas can be enabled to collect debugging details over a longer period with minimal performance impact. See the category settings in the file $SPLUNK_HOME/etc/log.cfg to set specific log levels. Note that not all messages marked WARN or ERROR indicate actual problems with Splunk, some indicate that a feature is not being used.
Additional splunkweb debugging can be enabled:
In the file $SPLUNK_HOME/etc/SplunkWeb.tac change this line:
# set global logging level appLoggingLevel = logging.INFO
To this:
# set global logging level appLoggingLevel = logging.DEBUG
The additional messages are output in the web_service.log file.
For 3.x, debug message can also be enabled dynamically with a search:
To enable debugging search for
!++cmd++::logchange !++param1++::root !++param2++::DEBUG
To return to the default log level search for
!++cmd++::logchange !++param1++::root !++param2++::WARN
This does not change any settings in log.conf. On restart, the log level reverts to what is defined in log.cfg.
Note This search will return a "Search Execute failed because Setting priority of ... " message. This is normal.
Core Files
To collect a useable core file, 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 and then start the web interface manually with "splunk start splunkweb" in another shell.)
Depending on your system, it may be named something like core.1234, where the number indicates the process id and be the same location as the splunkd executable.
LDAP configurations
If you are having trouble setting up LDAP, Support will typically need the following information:
The auth.conf file from $SPLUNK_HOME/etc/bundles/local
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 splunkd.log or web_service.log are helpful.
This documentation applies to the following versions of Splunk: 3.0 , 3.0.1 , 3.0.2 , 3.1 , 3.1.1 , 3.1.2 , 3.1.3 , 3.1.4 View the Article History for its revisions.