Demo Logs
Description
Mezmo provides several types of demo logs for you to use in building and testing your Pipelines. These can be especially useful to make sure that your Processors are accurately transforming and routing your data as expected.
Configuration
The demo log sources are ready to use, you only need to choose which option best matches the type of log data you want to test.
The demo logs consistently push between 25Mb-50Mb of data per day.
Configuration Options
Option | Sample |
---|---|
env_sensor | Simulated logs from environmental sensors |
financial | Simulated logs from financial applications |
nginx | Simulated logs from NGINX |
json | Simulated JSON logs |
apache_common | Simulated common Apache logs |
apache_error | Simulated Apache error logs |
bsd_syslog | Simulated BSD syslog format logs |
syslog | Simulated syslog format logs |
http_metrics | Simulated log metrics |
generic_metrics | Metrics with vague naming for simulating any source |
Examples
Environmental Sensor
{
"data": {
"co": 0.004020215,
"humidity": 31.60854,
"light": false,
"lpg": 0.009137373,
"motion": false,
"smoke": 0.016502323,
"temp": 23.443808
},
"device_id": "1c:bf:ce:15:ec:4d",
"ts": 1680193367.066066
}
Financial Log
{
"access": {
"action": "login",
"name": "Nola Daniel",
"user_id": "cd356412-78fa-3829-b303-62836d77c62d"
},
"buffer": "a5217abb-88b5-4042-9543-f6b830c7c77f",
"datetime": "2023-03-30T16:24:37.393392918+00:00",
"device": {
"id": "dcab649c-a999-410d-bebd-9e7ba3c5bd28",
"location": [
-66.875,
166.553
],
"name": "/dev/sdl",
"status": "active",
"vrs": "1.3.4"
},
"event": "access"
}
Nginx Log
JSON Log
{
"bytes": 8276,
"datetime": "30/Mar/2023:16:17:52",
"host": "144.230.103.114",
"method": "POST",
"protocol": "HTTP/1.1",
"referer": "hammes.info",
"request": "/",
"status": 200,
"user-identifier": "uschmeler"
}
Apache Common
Apache Error
BSD Syslog
Syslog
HTTP Metrics
{
"kind": "incremental",
"name": "sent_kilobytes_total",
"namespace": "http.server",
"tags": {
"hostname": "host1.example.com",
"method": "POST",
"path": "/example"
},
"value": {
"type": "counter",
"value": 2680
}
}
Generic Metrics
{
"kind": "incremental",
"name": "counter1",
"namespace": "namespace1",
"tags": {
"field1": "value2",
"field2": "value9",
"field3": "value3"
},
"value": {
"type": "counter",
"value": 1
}
}
Was this page helpful?