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

 

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!

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...

Out of the Box to Up And Running - Streamlined Observability for Your Cloud ...

  Tech Talk Streamlined Observability for Your Cloud Environment Register    Out of the Box to Up And Running ...

Splunk Smartness with Brandon Sternfield | Episode 3

Hello and welcome to another episode of "Splunk Smartness," the interview series where we explore the power of ...