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!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...