ChrisYounger / config_explorer

Config viewer and file editor for Splunk. Based on VSCode.
GNU Affero General Public License v3.0
28 stars 7 forks source link

file download error #29

Open seek33 opened 9 months ago

seek33 commented 9 months ago

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

ChrisYounger commented 7 months ago

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.

seek33 commented 7 months ago

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.

ChrisYounger commented 7 months ago

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.

seek33 commented 7 months ago

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