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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...