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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...