Splunk Enterprise

Splunk report upload to a OneDrive link

Chayan19
Engager

How can I automate the process of exporting a Splunk report and uploading it to a OneDrive link? Does anyone have experience or suggestions on how to achieve this?

Labels (3)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

Hi @Chayan19 

Unfortunately I dont think there are any apps currently in Splunkbase to achieve this, as @PickleRick you might have some success with HTTP Alert Action - *however* I believe that the OneDrive API requires authentication using OAuth2.0 which I dont think you will be able to do with that approach. 

The only thing I can think of is using the "Export Everything" app which can send to "Azure Blob & Data Lake Object Storage" - From here you'd be within the Azure ecosystem so may be able to use a service account to push it to OneDrive via a function? Might become a little complicated though!

Other than that I think it'd need to be a custom Python alert action which would need developing.

Sorry I couldnt be of any more help!

🌟 Did this answer help you? If so, please consider:

  • Adding karma to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

PickleRick
SplunkTrust
SplunkTrust

You could try to use HTTP Alert Action to push the report with HTTP REST API according to https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_put_content?view=odsp-gr...

But I've never tried it myself.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...