Reporting

How can we format a report and FTP it to a certain host?

ddrillic
Ultra Champion

We have an internal client which would like to run a report on an hourly basis and ftp the results of the report to a certain host. Is it possible? They are also wondering about the possible ways to format the report...

0 Karma
1 Solution

somesoni2
Revered Legend

I don't believe there is any native method available. For similar requirements, we setup custom script to be executed as alert action for the report, which can access the search result as 8th parameter which Splunk passes it by default. Based on the language you select for writing that script (perl, python), there may be options to process the search result (gzip file), format it and scp it to accessible places.

View solution in original post

0 Karma

somesoni2
Revered Legend

I don't believe there is any native method available. For similar requirements, we setup custom script to be executed as alert action for the report, which can access the search result as 8th parameter which Splunk passes it by default. Based on the language you select for writing that script (perl, python), there may be options to process the search result (gzip file), format it and scp it to accessible places.

0 Karma

ddrillic
Ultra Champion

Gorgeous @somesoni2 - can you please convert to an answer?

0 Karma

somesoni2
Revered Legend

Here you go.

0 Karma
Get Updates on the Splunk Community!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

[Coming Soon] Splunk Observability Cloud - Enhanced navigation with a modern look and ...

We are excited to introduce our enhanced UI that brings together AppDynamics and Splunk Observability. This is ...

Splunk Smartness with Patrick Tatro | Episode 4

Welcome to another episode of "Splunk Smartness," where we explore how Splunk Education can revolutionize your ...