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!

Celebrate CX Day with Splunk: Take our interactive quiz, join our LinkedIn Live ...

Today and every day, Splunk celebrates the importance of customer experience throughout our product, ...

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...

Out of the Box to Up And Running - Streamlined Observability for Your Cloud ...

  Tech Talk Streamlined Observability for Your Cloud Environment Register    Out of the Box to Up And Running ...