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!

Security Highlights | November 2022 Newsletter

 November 2022 2022 Gartner Magic Quadrant for SIEM: Splunk Named a Leader for the 9th Year in a RowSplunk is ...

Platform Highlights | November 2022 Newsletter

 November 2022 Skill Up on Splunk with our New Builder Tech Talk SeriesCan you build it? Yes you can! *play ...

Splunk Education - Fast Start Program!

Welcome to Splunk Education! Splunk training programs are designed to enable you to get started quickly and ...