# dynSearchType

Treat searchType as a template name.

This parameter applies to omelasticsearch: Elasticsearch Output Module.

Name:

  dynSearchType

Scope:

  action

Type:

  boolean

Default:

  action=off

Required?:

  no

Introduced:

  at least 8.x, possibly earlier

## Description

When enabled, searchType references a template whose expansion becomes the type.

## Action usage

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

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