HTTP Status
Synopsis
Converts HTTP status codes to their corresponding human-readable status names and descriptions based on RFC specifications and extended server implementations.
Schema
- http_status:
description: <text>
field: <ident>
target_field: <ident>
if: <script>
ignore_failure: <boolean>
ignore_missing: <boolean>
on_failure: <processor[]>
on_success: <processor[]>
tag: <string>
Configuration
The following fields are used to define the processor:
Field | Required | Default | Description |
---|---|---|---|
field | Y | Field containing the HTTP status code | |
target_field | N | Same as field | Field to store the status name |
description | N | - | Explanatory notes |
if | N | - | Condition to run |
ignore_failure | N | false | See Handling Failures |
ignore_missing | N | false | Continue processing if the field is missing |
on_failure | N | - | See Handling Failures |
on_success | N | - | See Handling Success |
tag | N | - | Identifier |
Details
The processor accepts HTTP status codes in various formats (string, integer, float) and converts them to standardized status names. It supports a comprehensive range of status codes including:
- Standard RFC codes: All official HTTP status codes from RFC 7231, 7232, 7233, 7234, 7235
- Informational (1xx): Continue, Switching Protocols, Processing, Early Hints
- Success (2xx): OK, Created, Accepted, No Content, Partial Content
- Redirection (3xx): Moved Permanently, Found, Not Modified, Temporary Redirect
- Client Error (4xx): Bad Request, Unauthorized, Forbidden, Not Found, Method Not Allowed
- Server Error (5xx): Internal Server Error, Bad Gateway, Service Unavailable, Gateway Timeout
- Extended codes: IIS-specific subcodes (400.1, 404.1, etc.), CDN-specific codes, and load balancer codes
This processor includes extended status codes from popular web servers (IIS, Apache, Nginx), CDNs (Cloudflare, AWS), and load balancers for comprehensive web traffic analysis.
The processor supports both integer status codes (200, 404) and decimal subcodes (400.1, 500.19) commonly used by Microsoft IIS and other enterprise web servers.
Use this processor in web access log analysis to make status codes more readable in dashboards and reports. It's particularly useful for identifying specific error conditions through detailed subcode descriptions.
Examples
Basic Status Code Conversion
Convert a successful HTTP response... |
|
to its readable name: |
|
Client Error Identification
Identify client errors... |
|
with descriptive names: |
|
Server Error Analysis
Analyze server errors... |
|
for troubleshooting: |
|
IIS Extended Status Codes
Handle IIS-specific subcodes... |
|
with detailed error descriptions: |
|
Authentication Failures
Detailed authentication error analysis... |
|
showing specific failure reasons: |
|
Rate Limiting Detection
Identify rate limiting responses... |
|
for API monitoring: |
|
CDN and Load Balancer Codes
Handle CDN-specific status codes... |
|
for infrastructure monitoring: |
|
SSL/TLS Error Identification
Identify SSL/TLS related errors... |
|
for security analysis: |
|
WebSocket Connection Issues
Handle WebSocket-specific errors... |
|
for real-time application monitoring: |
|
Unknown Status Codes
Unrecognized status codes... |
|
default to "Unassigned": |
|