Application/LogShipping
Schema
| Property |
Type |
Description |
inputs |
array of objects |
Log input sources |
inputs[].type |
string |
Input type (file, journald, syslog) |
inputs[].path |
string |
File path (for file type inputs) |
inputs[].unit |
string |
Systemd unit name (for journald type inputs) |
output.type |
string |
Output type (elasticsearch, loki, kafka, file) |
output.url |
string |
Destination URL |
output.index |
string |
Index name (for Elasticsearch) |
output.labels |
object |
Labels to attach (for Loki) |
These properties are common across all log shipping implementations. Sub-types add application-specific settings.
Sub-types
Example
_type: amadla.org/entity/application/log-shipping@v1.0.0
_body:
inputs:
- type: file
path: /var/log/nginx/access.log
- type: journald
unit: myapp.service
output:
type: loki
url: http://loki.example.com:3100/loki/api/v1/push
labels:
job: server-logs
environment: production
Consumers
| Tool |
How It Uses Application/LogShipping |
| lay |
Installs the log shipping application (filebeat, fluent-bit, etc.) |
| enjoin-service |
Enables/starts the log shipping service |
| weaver |
Generates configuration files |