.. _report_debug:

report debug
============

Report debugging options


debug Specification
-------------------

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

	===================================== =====================================================
	 **Type**                              *operational*

	 **Element Name**                      debug

	 **Element URI**                       /axapi/v3/report/debug

	 **Element Attributes**                debug_attributes

	 **Partition Visibility**              shared

	 **Schema**                             :download:`debug schema <report-debug/report-debug.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'>


EXECUTE Object



.. raw:: html

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


POST



.. raw:: html

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


/axapi/v3/report/debug



.. raw:: html

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


:ref:`2471_debug_attributes`



.. raw:: html

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




.. raw:: html

   </table>

.. _2471_debug_attributes:

debug attributes
----------------

    **log**

        **Description** Enable Report module's normal logs

        **Type:** boolean

        **Supported Values:** true, false, 1, 0

        **Default:** 0

    **sflow**

        **Description:** sflow is a **JSON Block**.  Please see below for :ref:`2471_sflow` 

        **Type:** Object

        **Reference Object:** :doc:`/axapi/v3/report/debug/sflow <report_debug_sflow>`

.. _2471_sflow:

sflow
^^^^^
	=============================== ===================================================
	**Specification**                 **Value**
	=============================== ===================================================
	 **Type**                        *object*

	=============================== ===================================================

    **parser**

        **Description** Enable logs by parser

        **Type:** boolean

        **Supported Values:** true, false, 1, 0

        **Default:** 0

    **stats-oid**

        **Description** Specify stats-oid to dump raw packets, 0 to disable

        **Type:** number

        **Range:** 0-9999