Skip to main content
Version: 0.3.0

Naming Conventions

Configuration keys in padas.toml / padas.default.toml use snake_case. Prefer explicit units in the name (*_ms, *_bytes, *_secs). The same idea applies to JSON bodies where Core exposes REST APIs.

Registry object ids for connectors, streams, and tasks use lowercase segments joined by hyphens. Segments in square brackets are optional. Omit a segment rather than leaving an empty hyphen.

Vocabulary​

SlotRoleValues
formatEvent or application familyunix, paloalto, myapp, and the same slot for other families (webapp, linux)
typeConnector classhttp, kafka, syslog, file, objectstorage, s3, and other shipped classes such as splunk
purposeWhat the object does in the pipelinein, out, filter, agg, aggregation, detection, processing
kindObject kindsource, sink, stream, task

Stream ingress and egress use input and output. Those words fill the purpose slot on a stream name (paloalto-syslog-input, paloalto-splunk-output).

When several tasks share the same format and purpose, append a number: webapp-filter1, webapp-filter2.

Pipeline, query, and rule ids, and Core Name on Services → Cores, are outside this pattern. The TCP quickstart import keeps its sample ids (for example pipe-quickstart-main).

Connectors​

<format>-<type>-[purpose]-<kind>

kind is source or sink. Leave purpose out unless the connector’s role is narrower than ingest or delivery (for example a sink that receives only the filtered stream).

  • paloalto-syslog-source
  • paloalto-splunk-sink
  • paloalto-s3-sink
  • myapp-kafka-source
  • webapp-splunk-filtered-sink

Streams​

<format>-[type]-[purpose]-[kind]

Include kind stream when the name would otherwise look like a connector or a task.

  • paloalto-syslog-input
  • paloalto-filtered-stream
  • paloalto-aggregation-output
  • paloalto-splunk-output
  • paloalto-splunk-aggregation-stream
  • webapp-kafka-input
  • webapp-filtered-output
  • linux-syslog-input
  • linux-enrich-output

Auto Create Stream does not apply this pattern. With the toggle on, the console creates <connector-name>_stream (spaces become underscores). Name the stream yourself and leave Auto Create Stream off when the id must follow the stream pattern. See Sources and Streams.

Tasks​

<format>-<purpose>-[kind]

kind task is optional. Include it when the same format and purpose also name a stream.

  • paloalto-filter
  • paloalto-filter-task
  • paloalto-processing-task
  • paloalto-aggregation
  • paloalto-aggregation-task
  • myapp-detection
  • webapp-filter1
  • linux-enrich-task

Example pipeline​

One Palo Alto syslog path, using the names above:

StageId
Sourcepaloalto-syslog-source
Stream (in)paloalto-syslog-input
Task (filter)paloalto-filter-task
Stream (filtered)paloalto-filtered-stream
Task (aggregation)paloalto-aggregation-task
Stream (out)paloalto-aggregation-output
Sinkpaloalto-splunk-sink

A second sink on the ingress stream is paloalto-s3-sink, reading paloalto-syslog-input.