Service Virtualization

  • 1.  Accessing Splunk from Devtest 8.2

    Posted Oct 10, 2017 07:17 AM

    # monika mehta

     

    Using Devtest 8.2 for webservcies automation

     

    Can you please share the procedure for connecting to Splunk for accessing logs? 



  • 2.  Re: Accessing Splunk from Devtest 8.2
    Best Answer

    Posted Oct 11, 2017 10:53 AM
      |   view attached

    NOTE:

    I cannot state with certainty that the attachment will work because we have no idea how your instance of Splunk is implemented. 

    Assuming you have the necessary SPLUNK jars in LISA_HOME/hotdeploy, try developing a JSR-223 /Javascript step to make the Splunk query call. Alternatively, if you have custom JARs, you could invoke your logic by calling the exposed API.

    Regardless, you will need to work with your Splunk team to get the proper connection parameters, login IDs, query syntax, contexts, etc. And, you will need to determine how to parse the query response output. 

    The attached file might help you get started.

    Attachment(s)