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
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...