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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...