.. _acos_events_message_id_property_log_route:

acos-events message-id property log-route
=========================================

Configure Log route of log message(s)


log-route Specification
-----------------------

	===================================== =====================================================================================================================
	 **Parameter**                         **Value** 

	===================================== =====================================================================================================================
	 **Type**                              *Configuration Resource*

	 **Element Name**                      log-route

	 **Element URI**                       /axapi/v3/acos-events/message-id/{log-msg}+{message-id-scope-route}/property/log-route

	 **Element Attributes**                log-route_attributes

	 **Partition Visibility**              shared

	 **Schema**                             :download:`log-route schema <acos-events-message-id-property-log-route/acos-events-message-id-property-log-route.txt>`
	===================================== =====================================================================================================================





	**Operations Allowed:**




.. raw:: html

   <script type="text/javascript">
 function showExample(a,b) { document.getElementById(a+'_div').style.display = 'block'; document.getElementById(a+'_cl').style.display = 'block'; document.getElementById(a+'_eg').style.display = 'none';}
   function closeExample(a,b) { document.getElementById(a+'_div').style.display = 'none'; document.getElementById(a+'_cl').style.display = 'none'; document.getElementById(a+'_eg').style.display = 'block';}
 </script>
   <table width='90%' style='margin-left:5%'>



.. raw:: html

   <tr style='border-bottom: thin solid; border-top: thin solid'><th width=15%>Operation</th><th width=10%>Method</th><th>URI</th><th width=15%>Payload</th><th width=10%></th></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Create Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/acos-events/message-id/{log-msg}+{message-id-scope-route}/property/log-route



.. raw:: html

   </td><td valign = 'top'>


:ref:`159_log-route_attributes`



.. raw:: html

   </td><td><button id='post_eg' onClick="showExample('post')">example</button> <button id='post_cl' onClick="closeExample('post')" style='display:none'>close</button></td></tr>




.. raw:: html

   <tr><td colspan=5 style='padding: 0         % 0    %;' valign = 'top'><div id='post_div' style='display:none'>


.. include:: ../artifacts/acos_events_message_id_property_log_route_POST.txt
   :literal:




.. raw:: html

   </div></td></tr>


.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Get Object



.. raw:: html

   </td><td valign = 'top'>


GET



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/acos-events/message-id/{log-msg}+{message-id-scope-route}/property/log-route



.. raw:: html

   </td><td valign = 'top'>


:ref:`159_log-route_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Modify Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/acos-events/message-id/{log-msg}+{message-id-scope-route}/property/log-route



.. raw:: html

   </td><td valign = 'top'>


:ref:`159_log-route_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Replace Object



.. raw:: html

   </td><td valign = 'top'>


PUT



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/acos-events/message-id/{log-msg}+{message-id-scope-route}/property/log-route



.. raw:: html

   </td><td valign = 'top'>


:ref:`159_log-route_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Delete Object



.. raw:: html

   </td><td valign = 'top'>


DELETE



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/acos-events/message-id/{log-msg}+{message-id-scope-route}/property/log-route



.. raw:: html

   </td><td valign = 'top'>


:ref:`159_log-route_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   </table>

.. _159_log-route_attributes:

log-route attributes
--------------------

    **log-route-val**

        **Description** 'local-only': send logs to local-only; 'remote-only': send logs to remote-only; 'local-and-remote': send logs to both local and remote; 

        **Type:** string

        **Supported Values:** local-only, remote-only, local-and-remote

    **uuid**

        **Description** uuid of the object

        **Type:** string

        **Maximum Length:** 64 characters

        **Maximum Length:** 1 characters