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
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...