Service Virtualization

Expand all | Collapse all

Retrieve the Data from the SPLUNK

Jump to Best Answer
  • 1.  Retrieve the Data from the SPLUNK

    Posted 01-30-2018 11:30 PM

    Hi,

     

     I am getting a message through the Queue and the XML message is stored in the Splunk.

    How to access the data/XML msg from the Splunk by using CA DEVTEST 10.1. Kindly anyone have steps.

    Please share me the Steps/Document which will help me to do step by step. Thanks in Advance.

     

    In basic, I want to do the below:

    Connect and access to Splunk and retrieve the Data from the Splunk .

    Note : The user(it is me) is having the access to plunk.

    Manually I am able to go to Splunk and view the data

     

    Regards,


    Santhosh



  • 2.  Re: Retrieve the Data from the SPLUNK
    Best Answer

    Posted 01-31-2018 07:28 AM

    Hi Santosh,

     

    The Splunk REST API user manual is here:- http://docs.splunk.com/Documentation/Splunk/latest/RESTUM/RESTusing 

     

    The quintessential example given there is 

    curl -k -u admin:pass https://localhost:8089/services/messages

    To obtain all messages. 

     

    In DevTest terms, this is a REST step, configured as follows

     

     

    Note that the "admin:pass@" part of the URL will be generated when you fill out the User and Password fields. 



  • 3.  Re: Retrieve the Data from the SPLUNK

    Posted 01-31-2018 10:55 AM

    Hi Dave Woodman,

     

     Thanks for the Reply. I will try today and let you know the status. 

     

    Regards,


    Santhosh Palvayi