
Find more things to monitor with crawl
This feature has been deprecated. |
---|
This feature has been deprecated as of Splunk Enterprise version 6.0. This means that although it continues to function, it might be removed in a future version. As an alternative, you can search for files and directories to monitor manually.
For a list of all deprecated features, see the topic "Deprecated features" in the Release Notes. |
Use the crawl
search command to search your file system or network for new data sources to add to your Splunk Enterprise index.
You can change default crawler settings by editing crawl.conf. You can override the crawler defaults at the time that you run crawl
.
crawl
produces a log of crawl activity which it stores in $SPLUNK_HOME/var/log/splunk/crawl.log
.
Change crawler defaults
Edit $SPLUNK_HOME/etc/system/local/crawl.conf
to change the default crawler configuration settings. You define the files and network crawlers separately, in their own stanzas.
Syntax
crawl.conf
contains two stanzas: [files]
and [network]
, which define defaults for the files and network crawlers, respectively.
For information on the definable attributes for those stanzas and their default values, read the crawl.conf spec file.
Example
Here's an example crawl.conf
file with settings defined for both the files and network crawlers:
[files] bad_directories_list= bin, sbin, boot, mnt, proc, tmp, temp, home, mail, .thumbnails, cache, old bad_extensions_list= mp3, mpg, jpeg, jpg, m4, mcp, mid bad_file_matches_list= *example*, *makefile, core.* packed_extensions_list= gz, tgz, tar, zip collapse_threshold= 10 days_sizek_pairs_list= 3-0,7-1000, 30-10000 big_dir_filecount= 100 index=main max_badfiles_per_dir=100 [network] host = myserver subnet = 24
PREVIOUS Get data from APIs and other remote data interfaces through scripted inputs |
NEXT Overview of event processing |
This documentation applies to the following versions of Splunk® Enterprise: 6.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.0.6, 6.0.7, 6.0.8, 6.0.9, 6.0.10, 6.0.11, 6.0.12, 6.0.13, 6.0.14, 6.0.15, 6.1, 6.1.1, 6.1.2, 6.1.3, 6.1.4, 6.1.5, 6.1.6, 6.1.7, 6.1.8, 6.1.9, 6.1.10, 6.1.11, 6.1.12, 6.1.13, 6.1.14, 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.2.4, 6.2.5, 6.2.6, 6.2.7, 6.2.8, 6.2.9, 6.2.10, 6.2.11, 6.2.12, 6.2.13, 6.2.14, 6.2.15
Feedback submitted, thanks!