HTTP (Hypertext Transfer Protocol) is the underlying protocol used by the World Wide Web that defines how messages are formatted and transmitted.
- Download HTML Job configuration XML. Job queries
- Open Axibase Collector user interface.
- Click Jobs.
- At the bottom of the page, click Import.
job_http_google.com.xmlfrom the local file system.
- Open the job and click Run to collect data.
HTTP Job Configuration
Use the table below to create an HTTP job configuration.
|Enabled||The job is active and queried data is stored|
|Name||Name of the HTTP job configuration.|
| ||Run the job on a |
|Storage||Define location to store retrieved series commands.|
|Item List||Apply the HTTP job to an Item List. |
|HTTP Pool||Apply a configured HTTP pool or create one by clicking +. |
|Path||Path to target files located on the remote or local file system from which HTTP job reads.|
|Collect SSL Metrics||Collect SSL certificate expiration and status metrics: |
|String Matching||Define how Collector searches for response text.|
|Search String||Text for which Collector searches.|
|Retry Count||Number of attempts to re-establish a lost connection.|
|Retry Delay, seconds||Delay between attempts to re-establish a lost connection.|
|Metric Prefix||Common prefix added to metric names, for example |
This field supports the following placeholders:
*Apply the HTTP job to either an Item List or HTTP Pool, but not both.
| ||Milliseconds required for Collector to establish a connection to the target URL.|
| ||Size of response in bytes.|
| ||Milliseconds required for Collector to download response.|
| ||Number of days before SSL Certificate expiration.|
| ||SSL Certificate expiration date.|
| ||Returns value based on SSL Certificate status. See the table below.|
| ||Returns value based on HTTP status code. See the table below.|
Metrics which record a date value such as
http.ssl_certificate_not_after_date are recorded in the following format
20180429 corresponds to April 29, 2018.
http.ssl_certificate_status Metric Values
|Metric Value||Certificate Status|
| ||Certificate is already expired.|
| ||Certificate is not yet valid.|
| ||Incorrect hostname.|
| ||Failed to retrieve SSL certificate.|
http.status Metric Values Based on HTTP Response Codes
|Metric Value||Response Code|
| ||No error. TCP connection successful. HTTP status code |
| ||Other exceptions without HTTP status code.|
| ||TCP connection successful. HTTP status code |
| ||TCP connection successful. HTTP status code other than |
Click Test to view sample series commands for the given configuration.
series e:example.org d:2018-07-24T18:00:00.000Z t:name=spring-boot t:url=http://example.org/spring-boot/example/ t:username=axibase m:http.download_size=1889 m:http.status=0 m:http.download_time=14 m:http.connection_time=1
The response series command contains the following information:
- The HTTP Job executed at 18:00 on July 24, 2018.
- The queried site
www.example.org/springboot/exampleresponse is 1,889 bytes and took 14 milliseconds to download.
- Valid connection established in one millisecond and the SSL Certificate is valid.