Splunk Search

Upload large file

mwdbhyat
Builder

Hi,

How does one upload files larger than 500mb? I get an error "File too large. The file selected is 996Mb. Maximum file size is 500Mb" Is this due to using the trial ?

Thanks

0 Karma
1 Solution

somesoni2
Revered Legend

The 500MB limit is for uploading file from Splunk Web, regardless of the license type.

http://docs.splunk.com/Documentation/Splunk/6.4.3/Data/Uploaddata

View solution in original post

marnall
Motivator

For people finding this question in the years after 2016, you can set the max_upload_size setting in web.conf

[settings]
# set to the MB max
max_upload_size = 500
# you can also set a larger splunkdConnectionTimeout value so it wont timeout when uploading
splunkdConnectionTimeout=600

ref: https://docs.splunk.com/Documentation/Splunk/9.2.0/Admin/Webconf

0 Karma

Rizqi_Iskandar
Loves-to-Learn Lots

btw, where can i find web.conf in windows?

Because i cant find the right one to edit this file

0 Karma

inventsekar
SplunkTrust
SplunkTrust

You can find it here..

For list of all config files

https://docs.splunk.com/Documentation/Splunk/9.2.2/Admin/Listofconfigurationfiles

 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma

Rizqi_Iskandar
Loves-to-Learn Lots

I have edit the max_upload size from 500 to 8000 but still it cant upload enterprise security.

I try this way repeatly and restart splunk everytime i save this configuration, but nothing happen

Do you have other way to install splunk ES on windows? 

0 Karma

marnall
Motivator

What happens if you run btool on the settings stanza and grep for max_upload_size?

e.g.

/opt/splunk/bin/splunk btool web list settings | grep max_upload

 

If it shows a value other than 8000, then likely your web.conf file is in the wrong place, or being overridden by another.

0 Karma

Rizqi_Iskandar
Loves-to-Learn Lots

I think this is happen because its run on Windows

I will try to install it on Linux first and i will let you know if the problem fixed

thanks for the help dude

0 Karma

marnall
Motivator

Sorry, I am too used to Linux. I believe the equivalent btool command on windows is:

$splunkhome$/bin/splunk.exe btool web list settings | FINDSTR max_upload

 

0 Karma

dbcase
Motivator

I've had the same problem. You can use the Linux SPLIT command to break the file up into smaller parts

http://askubuntu.com/questions/54579/how-to-split-larger-files-into-smaller-parts

0 Karma

ChrisG
Splunk Employee
Splunk Employee

Yes, both the trial and free licenses have an indexing limit of 500MB a day. For file upload on any license, the maximum file size is 500 MB, as the UI indicates.

0 Karma

somesoni2
Revered Legend

The 500MB limit is for uploading file from Splunk Web, regardless of the license type.

http://docs.splunk.com/Documentation/Splunk/6.4.3/Data/Uploaddata

mwdbhyat
Builder

Thanks - Is there a way around this without using the Web, not splitting the file ?

0 Karma

dbcase
Motivator

I don't think so but you could try using the universal forwarder instead of uploading the file

0 Karma

dbcase
Motivator

Is it possible to zip the file so it is less than 500MB?

https://answers.splunk.com/answers/279/does-splunk-index-gzip-files.html

mwdbhyat
Builder
0 Karma

dbcase
Motivator

Ah good to know, haven't used that before

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...