Splunk Search

Uploading a bunch of files

ChhayaV
Communicator

hi,

I want to upload a bunch of files in a splunk i have a zipped file named SP.zip which is containing all the log files. I uploaded all the files using reg-ex given in splunk tutorial but its uploading only first log from the directory.

How can i upload all the logs?

Tags (2)
0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

Are you using an input.conf to monitor the folder where the files are ?
Are your files still zipped ?

./splunk add oneshot "path/to/my/file" -sourcetype mysourcetype

View solution in original post

callan_splunk
Splunk Employee
Splunk Employee

just built an app to make this easier...

UPLOADER! http://apps.splunk.com/app/1707

0 Karma

ykpramodhcbt
Path Finder

Hi callan,

thanks for making our life easier with this app.

I tried but could not install the app because of the following error -

There was an error processing the upload.Invalid app contents: archive contains more than one immediate subdirectory: and ._uploader
Splunk 6.6.2

regards
Pramodh

0 Karma

yannK
Splunk Employee
Splunk Employee

Are you using an input.conf to monitor the folder where the files are ?
Are your files still zipped ?

./splunk add oneshot "path/to/my/file" -sourcetype mysourcetype

ChhayaV
Communicator

got it !!!

0 Karma

ChhayaV
Communicator

Awesome!!!!!!...worked :)...how can i specify host also in the same ?

0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...