Getting Data In

Is there a way to index data from NFS without mounting?

nealw
New Member

Hello, I'm relatively new to Splunk, so please bear with me. I wanted to know whether there was any way to point to my shared storage data without actually doing an NFS mount. Can I maybe point the universal forwarder in such a way where I give it the name and the directory path for NFS to fetch the data and send it to the indexer, all from my host machine?
Thank you for your time.

0 Karma
1 Solution

iandrews_splunk
Splunk Employee
Splunk Employee

Splunk does not, natively, support a remote NFS share as an input.

The only way to do this would be to use a script that connects to the share, outputs the data, then tell splunk to use that script as an input.

View solution in original post

iandrews_splunk
Splunk Employee
Splunk Employee

Splunk does not, natively, support a remote NFS share as an input.

The only way to do this would be to use a script that connects to the share, outputs the data, then tell splunk to use that script as an input.

nealw
New Member

Hi, thanks for answering my question. Just to follow up on this, is the script that connects to the share and outputs the data the equivalent to mounting the data without actually mounting it? Also, is there an example of such a script?
Thanks once again!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...