Getting Data In

SFTP data in splunk

keishamtcs
Explorer

Hi All,

Currently there are mainframe jobs which is sending data to a splunk instance where the data will be index locally. The data transfer is happening via FTP. Since it's a frame jobs we cannot install splunk forwarders.

We are planning to convert from FTP to SFTP. On mainframe side code chane would be done to make it as sftp.

So for this what changes would required on splunk side ? I believe a key would required ?
Is there better method of transfer or any add-on that we can use ?

Regards

0 Karma

nareshinsvu
Builder

key? to establish rsa and do sftp?

If you are able to successfully sftp files, you can index data locally on the splunk server as you said using inputs.conf.

0 Karma

keishamtcs
Explorer

Do we need a seperate server for SFTP. Can we use the sftp key on splunk existing splunk server ?

0 Karma

nareshinsvu
Builder

Are your servers Linux? You can set-up sftp using below link unless there are any security restrictions with the mainframes server.

https://www.jscape.com/blog/setting-up-sftp-public-key-authentication-command-line

Once SFTP is successful and files transferred, you can index data locally

0 Karma

jaime_ramirez
Communicator

So, are you pushing data from the mainframes to Splunk or pulling data from the mainframes?

0 Karma

keishamtcs
Explorer

Yes...data is being push from mainframe to splunk via FTP.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...