Getting Data In

Monitoring files from SPLUNK Enterprise server

willadams
Contributor

I just need some help in understanding what is possible. I have a powershell script that I use to gather data from active directory. The powershell script generates a CSV file that I monitor with SPLUNK. SPLUNK is configured to monitor the file. This is on our old AIO (all in one) instance and I have built a new instance with the aim to retire the old AIO. Both these systems are online at the same time and will run parallel until everything is eventually cut over, meaning I can't impact the old system but need the monitored files on the new deployment.

The old instance has a folder (its Windows) that is "D:\FileMonitor". The new instance is a Centos build.

Without impacting the old AIO how do I get the new instance to reference this file? I thought that maybe writing a new app and just creating an inputs.conf file along with an outputs.conf file should do the trick. Would this work without impacting the old AIO but letting me get my data in the new instance? Reading articles such as "https://answers.splunk.com/answers/471936/install-both-universal-forwarder-and-splunk-enterp.html" (Install both Universal Forwarder and Splunk Enterprise on on same Windows server in case the link doesn't show) suggests not to install both the UF and Enterprise on the same server.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

It's not clear how the old and new instances are connected. Are you saying you want to forward data from the old instance's D:\FileMonitor file to the new instance?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...