Splunk Dev

How to upload a file/folder from a remote machine to Splunk using Java?

srinath1691
Engager

I want to upload a file/folder from a remote machine using a java program to Splunk on a local machine. I have created the connection with Splunk, but I couldn't figure out how to upload it. Splunk requires that the path of the file/folder to upload be local. Also, if possible, is there a way to do it without sharing the directory?

Tags (4)
0 Karma
1 Solution

srinath1691
Engager

I didn't get the actual solution though. The work around that I did was to transfer files from the remote machine to the machine where Splunk was installed using Java (Socket programming) and then uploaded the files to Splunk. Hope it helps.

View solution in original post

0 Karma

srinath1691
Engager

I didn't get the actual solution though. The work around that I did was to transfer files from the remote machine to the machine where Splunk was installed using Java (Socket programming) and then uploaded the files to Splunk. Hope it helps.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...