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!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...