I recently integrated Splunk forwarding service with Tableau and when I set up the monitoring, I did .\splunk to add a monitor (file location) but Splunk seems to be monitoring more files then I asked for. How can I remove all monitoring without having to stop Splunk on a windows platform?
You can use .\splunk remove monitor (file location)
to undo the monitoring.
To make Splunk be more specific about what it monitors, you must edit the \Program Files\Splunk\etc\system\local\inputs.conf file and then restart Splunk.