# omhdfsFileName

Sets the HDFS path of the file that omhdfs writes log messages to.

This parameter applies to omhdfs: Hadoop Filesystem Output Module.

Name:

  omhdfsFileName

Scope:

  module

Type:

  word

Required?:

  yes

Introduced:

  Not documented

## Description

The name of the file to which the output data shall be written.

## Module usage

    $ModLoad omhdfs
    $omhdfsFileName /var/log/hdfs/system.log
    # write all messages to the specified HDFS file
    *.* :omhdfs:

## Legacy names (for reference)

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

- `$OMHDFSFileName` — maps to `omhdfsFileName` (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.