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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...