Getting Data In

How to upload CSV from UI?

ayush1906
Path Finder

Hi All,

 

We have a requirement where the end user would be uploading CSV to our HF, and from there, jobs would process it.


In the case of Lookup Editor, it gives a view to all the CSVs, which is contrary to what we are trying to restrict the view.

 

An alternate idea we came up with is to create a custom page that has an upload button and upload it, but we are struggling how to link JS code that uploads files to the backend. 

Labels (1)
0 Karma

gcusello
Esteemed Legend

Hi @ayush1906,

we had the same problem, the only solution is a custom page, but you cannot use it if you're working on Splunk Cloud.

Ciao.

Giuseppe

ayush1906
Path Finder

hi @gcusello ,

thanks, we are using Splunk Enterprise, custom page it is then,

 

would you be able to share source or snippet ?

0 Karma

gcusello
Esteemed Legend

Hi @ayush1906,

No sorry, I'm not the programmer, I haven't it.

Anyway, it should be a simple box to upload a file, my colleages that did this interven took it from intenet.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Updates (ESCU) - New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 3 releases of new content via the Enterprise ...

Thought Leaders are Validating Your Hard Work and Training Rigor

As a Splunk enthusiast and member of the Splunk Community, you are one of thousands who recognize the value of ...

.conf23 Registration is Now Open!

Time to toss the .conf-etti 🎉 —  .conf23 registration is open!   Join us in Las Vegas July 17-20 for ...