Solved

SPLUNK REST  API call to Splunk to create and index?

Posted on 2016-09-08
2
65 Views
Last Modified: 2016-09-26
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
0
Comment
Question by:NAMEWITHELD12
2 Comments
 
LVL 20

Accepted Solution

by:
Amitkumar Panchal earned 500 total points
Comment Utility
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
 
LVL 1

Author Closing Comment

by:NAMEWITHELD12
Comment Utility
thankiws
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Problem to start Neon 20 48
ArrayIndexOutOfBoundException 9 29
parse convert xml feed to text (python) 2 26
COnsume rest client 6 4
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
This is about my first experience with programming Arduino.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now