# omhdfsPort

Specifies the TCP port number used to reach the configured HDFS host.

This parameter applies to omhdfs: Hadoop Filesystem Output Module.

Name:

  omhdfsPort

Scope:

  module

Type:

  integer

Default:

  0

Required?:

  no

Introduced:

  Not documented

## Description

Port on which to connect to the HDFS host.

## Module usage

<<<<<<< HEAD .. code-block:: none ======= .. code-block:: text >>>>>>> 717d9e259 (doc: restructure and modernize project history; add origins page and xrefs)

> $ModLoad omhdfs $omhdfsHost hdfs01.example.net $omhdfsPort 8020 $omhdfsFileName /var/log/hdfs/system.log # write all messages to the specified HDFS host and port . :omhdfs:

## Legacy names (for reference)

Historic names/directives for compatibility. Do not use in new configs.

- `$OMHDFSPort` — maps to `omhdfsPort` (status: legacy)

## See also

See also omhdfs: Hadoop Filesystem Output Module.

Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.