# dynSearchIndex

Treat searchIndex as a template name instead of a literal.

This parameter applies to omelasticsearch: Elasticsearch Output Module.

Name:

  dynSearchIndex

Scope:

  action

Type:

  boolean

Default:

  action=off

Required?:

  no

Introduced:

  at least 8.x, possibly earlier

## Description

If enabled, the value of searchIndex is interpreted as the name of a template whose expansion becomes the index name.

## Action usage

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

## Notes

- Previously documented as a “binary” option.

## 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.