SPLUNK REST API call to Splunk to create and index?

SPLUNK: does anyone know how exactly to right a SPLUNK API call to run and create an index in splunk based on the hostname?

thanks
LVL 1
NAMEWITHELD12Asked:
Who is Participating?
 
Amitkumar PConnect With a Mentor Sr. ConsultantCommented:
Looking at http://dev.splunk.com/restapi, Splunk provides a REST API. So you can use any language (i.e. java/c/php/.net etc) that supports REST and write a program to call the specific api.

Nowadays, almost all the languages are having support for REST, so choice is yours.
0
 
NAMEWITHELD12Author Commented:
thankiws
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.