Skip to content

tphan18/splunk-custom-rest-endpoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEMO

  1. On 1st terminal, start the splunk service.
docker-compose up --build --renew-anon-volumes
  1. On 2nd terminal, we create symbolic link so the changes can be reflected and we can avoid the volumes permission issues.
$ docker exec -it splunk /bin/bash
$ cd $SPLUNK_HOME/etc/apps/
$ sudo ln -s /apps/custom_rest_app/ .
$ sudo $SPLUNK_HOME/bin/splunk restart
  1. Test custom endpoint at
http://127.0.0.1:8000/en-US/splunkd/__raw/services/my_custom_endpoint
  1. Documentation links

Releases

No releases published

Packages

No packages published