Splunk Enterprise and anti-virus products
Splunk Enterprise requires ample disk I/O bandwidth to perform indexing tasks. In particular, disk write operations are very intensive. These disk writes can clash with any product, such as anti-virus on-access scan software, that installs a driver that intermediates between Splunk Enterprise and the operating system.
When you run Splunk (Enterprise or forwarder) on a host that has an anti-virus product (such as McAfee VirusScan on Windows or Trend Micro ServerProtect on Linux) installed, Splunk strongly recommends that you exclude all Splunk processes as well as the Splunk installation directory from any kind of on-access scanning.
On Windows hosts, on-access scanners can significantly decrease performance. On *nix hosts, these scanners can use up file descriptors and render a host completely inaccessible.
Files and processes to exclude
The following table lists the Splunk platform directories and executables to exclude from anti-virus scanning.
|Version:||Directories to exclude:||Processes to exclude:|
|Splunk Enterprise (Windows)||
|Splunk universal forwarder (Windows)||
|Splunk Enterprise (*nix)||
|Splunk universal forwarder (*nix)||
||Same as Splunk Enterprise (*nix)|
Other items to exclude
If you run a Splunk app or add-on on your Splunk Enterprise instance or forwarder, exclude any executables that might come with the app or add-on. An example is the Splunk Add-on for PowerShell - this modular input comes with an executable named
powershell.exe that should also be excluded from anti-virus scans when it runs.
In general, any file associated with Splunk Enterprise that can be executed should be excluded from scanning. You might need to inspect additional files in apps or add-ons to determine whether or not they qualify.
Workaround for network accessibility issues on Splunk Windows systems under certain conditions
This documentation applies to the following versions of Splunk® Enterprise: 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.0.6, 7.0.7, 7.0.8, 7.0.9, 7.0.10, 7.0.11, 7.0.13, 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.1.4, 7.1.5, 7.1.6, 7.1.7, 7.1.8, 7.1.9, 7.1.10, 7.2.0, 7.2.1, 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6, 7.2.7, 7.2.8, 7.2.9, 7.2.10, 7.3.0, 7.3.1, 7.3.2, 7.3.3, 7.3.4, 7.3.5, 7.3.6, 7.3.7, 7.3.8, 7.3.9