# Serverport

Default port used when server URLs omit a port.

This parameter applies to omelasticsearch: Elasticsearch Output Module.

Name:

  Serverport

Scope:

  action

Type:

  integer

Default:

  action=9200

Required?:

  no

Introduced:

  at least 8.x, possibly earlier

## Description

Port applied to entries in server that lack an explicit port number.

## Action usage

    action(type="omelasticsearch" Serverport="...")

## See also

See also omelasticsearch: Elasticsearch 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.