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!

Using Machine Learning for Hunting Security Threats

WATCH NOW Seeing the exponential hike in global cyber threat spectrum, organizations are now striving more for ...

Observability Newsletter Highlights | March 2023

 March 2023 | Check out the latest and greatestSplunk APM's New Tag Filter ExperienceSplunk APM has updated ...

Security Newsletter Updates | March 2023

 March 2023 | Check out the latest and greatestUnify Your Security Operations with Splunk Mission Control The ...