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!

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...

Splunkbase | Splunk Dashboard Examples App for SimpleXML End of Life

The Splunk Dashboard Examples App for SimpleXML will reach end of support on Dec 19, 2024, after which no new ...

Understanding Generative AI Techniques and Their Application in Cybersecurity

Watch On-Demand Artificial intelligence is the talk of the town nowadays, with industries of all kinds ...