In the documentation for Splunk 4, it says that you can specify a [crawlers] section like so:
[crawlers]
crawlers_list = vhost_logs
The crawler is defined in its own [vhost_logs] section.
But no matter what crawlers I define in that section, I always get "Unknown crawler 'vhost_logs'. Legal values are: ['files', 'net']". What is the correct way to do this in 4?
The documentation was inaccurate. The [crawlers] stanza does not, in fact, exist.
We've just corrected the documentation; read it here:
http://www.splunk.com/base/Documentation/latest/Admin/Findmorethingstomonitorwithcrawl
Also, refer to the crawl.conf spec file here:
http://www.splunk.com/base/Documentation/latest/Admin/Crawlconf