Knowledge Management

Is there a rest api or any curl command through which we can upload a lookup file from a user designated area

Das-tapas
New Member

I want to automate the uploading of a lookup file but at first I have to upload it to staging area. The staging area which is a public area or only admin can access it in an organization. So is there any api or anyone can help please so that I can automate this looup uploading directly from a user designated directory.

I tried but it gives me this output

ERROR:root:[failed] file: 'prices.csv', status:503, reason:Service Unavailable, url:http://localhost:8000/services/data/lookup-table-files/

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...