Splunk Search

How do you upload a CSV using button click?

harishalipaka
Motivator

Hi All,

I want to upload a CSV file into a particular lookup folder related to that app only using javascript or XML code anything.

What i want is for when I click on button , it will browse to my local storage, and than i would have to upload one csv file that is directly saved to that lookup folder related to that app like ..................../en-US/manager/appname/data/lookup-table-files

NOTE:-
1. If that same name lookup is already available there ,it should delete and replace with my new file, otherwise we would get a name exits error
2. I am using server that lookups are stored in server like winscp/s3 browser, so I am unable to redirect it to that path.
3. I want to do this whole process using with code only without touching or running any code or command.
4. If possible, I'd also like it to do a debug refresh and _bump also via in this code .

I tried which one suggested by @niketnilay also
https://answers.splunk.com/answers/620547/is-it-possible-to-provide-upload-option-in-dashboa.html

Simply:- Dashboards-->click on upload button -->import file from pc -->IF exits that file delete than replace with latest fle --> uploaded succesful. -->If possible backend run debug refresh and _bump also...

thats it 🙂 Happy Splunking ..

Thanks in advance .....:)

Thanks
Harish
0 Karma

mstjohn_splunk
Splunk Employee
Splunk Employee

hi @harishalipaka,

Did the answer below solve your problem? If so, please resolve this post by approving it!

0 Karma

woodcock
Esteemed Legend

If the Lookup File Editor app will not do it, it provides enough code for you to cannibalize to build your own thing:
https://splunkbase.splunk.com/app/1724/

niketn
Legend

@harishalipaka are you in need of Lookup Editor App?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...