The REST Extractor plugin has been available in Netprobe version GA4.11 and above. Dataviews are configured through the use of jq queries. Users are expected to have technical knowledge and experience in jq syntax in order to use this plugin. Users should check if their Geneos license is entitled to use this plugin. It will likely need to apply an additional license token to the Licence Daemon. |
(This article uses the same website as an example in a separate article: How to parse JSON output from a website using the Extractor plugin?) In this example, we will be monitoring and extracting information from the following website: From the API, we have picked the Announced Endpoint to obtain 30 days data with JSON format output. The complete URL would be 1. Configure the URL to monitor The REST Extractor plugin can access web sites and parse JSON format output in one go. There is an URL field (highlighted in screen capture) which can be directly inputted to monitor the web site. 2. Enter jq Query Then at the Query field, user can simply enter the jq syntax to parse the JSON output. We have used the following query in our example. [.[] | {cusip: (.cusip + " - "+ .securityTerm), issueDate, maturityDate, securityType, announcementDate, auctionDate, interestRate, offeringAmount, securityTermDayMonth, securityTermWeekYear}]
3. Reorder the columns We have chosen to use cusip as the first column. This can be achieved with the Columns button on the right of the URL field. We have attached the samplers in XML code at the bottom of the article, so users can experiment and reuse the configuration. |
|||||||||||
Further ReadingUsers can check out the REST Extractor documentation for more information. The documentation for jq can be found in Github. |
Comments
0 comments
Please sign in to leave a comment.