Reporting

Methods to export reports

rlautman
Path Finder

I am looking into the different methods that can be used to extract reports from Splunk - I have recently had a request from a team for whom I create a daily report on Splunk and mail to them. They are now asking that this report be automated (I have asked a question regarding this here) and that this automated report be forwarded to them to be used in an Information Tool via one of the following 3 methods:

  1. Use a webservice to retrieve the report and place it in their tool
  2. Send the report to a Sharepoint site for them to retrieve the information from
  3. Send the report to a SQL server

Are these methods of extraction possible with Splunk? Or is there another method that anyone could suggest?

0 Karma

jonuwz
Influencer

Not out the box.

There's 2 options.

  1. run a script when the saved search runs. One of the arguments is the location of the file that contains the results. Parse it, then send the results to wherever.
  2. Write it all in python / java - there are SDKs that allow you to get data out of splunk. So you could periodically run this script / program to populate the other tool without relying on splunk to do the scheduling.
0 Karma

jonuwz
Influencer
0 Karma

rlautman
Path Finder

Great, thanks for the tips - could you recommend some SDKs so I can take a look?

0 Karma
Get Updates on the Splunk Community!

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...