.. _param-mmrfc5424addhmac-sd-id:
.. _mmrfc5424addhmac.parameter.action.sd_id:
.. _mmrfc5424addhmac.parameter.action.sdId:

sd_id
=====

.. index::
   single: mmrfc5424addhmac; sd_id
   single: sd_id

.. summary-start

Sets the RFC5424 structured data ID added to the message.

.. summary-end

This parameter applies to :doc:`../../configuration/modules/mmrfc5424addhmac`.

:Name: sd_id
:Scope: action
:Type: string
:Default: none
:Required?: yes
:Introduced: 7.5.6

Description
-----------
The RFC5424 structured data ID to be used by this module. This is the SD-ID that
will be added. Note that nothing is added if this SD-ID is already present.

Action usage
------------
.. _param-mmrfc5424addhmac-action-sd_id:
.. _param-mmrfc5424addhmac-action-sdId:
.. _mmrfc5424addhmac.parameter.action.sd_id-usage:
.. _mmrfc5424addhmac.parameter.action.sdId-usage:

.. code-block:: rsyslog

   action(type="mmrfc5424addhmac" sd_id="exampleSDID@32473")

See also
--------
See also :doc:`../../configuration/modules/mmrfc5424addhmac`.

