config_explorer icon indicating copy to clipboard operation
config_explorer copied to clipboard

file download error

Open seek33 opened this issue 2 years ago • 4 comments

I have an app developed on Splunk Cloud and use config explorer to download logs left by the app. However, when downloading a file of 580MB in size, an error occurs with the error message below. Is there a download file size limit? Is there a way to download by modifying the config explorer options?

===== Error message =====

An error occurred! filedownload:

Error communicating with Spunk

seek33 avatar Dec 21 '23 07:12 seek33

Thanks for raising this issue. I recently ran into the same problem when trying to download a large file. Since Config Explorer uses the Splunk webserver, it runs into limitations with thtat. I tried looking for where the limit is set in web.conf but was unable to see anything obvious. Sorry but I think you need to use SCP instead.

ChrisYounger avatar Feb 17 '24 11:02 ChrisYounger

Thank you for your reply. Currently, I solved it by creating a python script to split the file. Since I'm using Splunk Cloud, I couldn't use ssh or scp. Thank you again for checking.

seek33 avatar Feb 23 '24 02:02 seek33

I am glad you solved it, but its against the Splunk rules to use ConfigExplorer on Splunk Cloud.

I was going to also suggest that if you move the file into the appserver/static/ directory of a visible app, then you should be able to download the file directly without going through configexplorer.

ChrisYounger avatar Feb 23 '24 02:02 ChrisYounger

That seems to be a good method too. Thank you for the good advice.

seek33 avatar Feb 23 '24 05:02 seek33