<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Working with Logging Metrics on</title><link>https://docs.protegrity.com/dsg/4.1.0/docs/dsg_logging_metrics/</link><description>Recent content in Working with Logging Metrics on</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.protegrity.com/dsg/4.1.0/docs/dsg_logging_metrics/index.xml" rel="self" type="application/rss+xml"/><item><title>Transaction Metrics Logging</title><link>https://docs.protegrity.com/dsg/4.1.0/docs/dsg_logging_metrics/dsg_transaction_metrics/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/dsg/4.1.0/docs/dsg_logging_metrics/dsg_transaction_metrics/</guid><description>&lt;p>The transaction metrics allows the user to view the detailed information of the operations performed by the DSG. The Transaction metrics logging feature can be enabled at the service level.&lt;/p>
&lt;p>For more information about enabling the transaction metrics logging feature, refer to the &lt;a href="https://docs.protegrity.com/dsg/4.1.0/docs/dsg_ruleset_reference/dsg_rul_svcs/#gateway-service-fields">Table: Service Fields&lt;/a>.&lt;/p>
&lt;p>The transaction metrics are logged in the &lt;strong>gateway.log&lt;/strong> file in JSON format.&lt;/p>
&lt;p>The sample transaction metrics for a REST request is as seen in the following snippet.&lt;/p></description></item><item><title>Usage Metrics Logging</title><link>https://docs.protegrity.com/dsg/4.1.0/docs/dsg_logging_metrics/dsg_usage_metrics/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/dsg/4.1.0/docs/dsg_logging_metrics/dsg_usage_metrics/</guid><description>&lt;p>Usage metrics provide information about the usage of tunnels, services, profiles, and rules. By default, the usage metrics feature is enabled in the &lt;strong>gateway.json&lt;/strong> file.&lt;/p>
&lt;p>For more information about the &lt;strong>gateway.json&lt;/strong> file, refer to the section &lt;a href="https://docs.protegrity.com/dsg/4.1.0/docs/dsg_configurations/dsg_gateway_config_file/">Gateway.json file&lt;/a>.&lt;/p>
&lt;p>The following snippet shows how the usage metrics feature is enabled in the &lt;strong>gateway.json&lt;/strong> file.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>&amp;#34;stats&amp;#34;: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;enabled&amp;#34;: true
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The metrics are recorded in CSV format in the &lt;strong>gateway.log&lt;/strong> file, and then parsed to JSON and sent to Insight.&lt;/p></description></item><item><title>Error Metrics Logging</title><link>https://docs.protegrity.com/dsg/4.1.0/docs/dsg_logging_metrics/dsg_error_metrics/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/dsg/4.1.0/docs/dsg_logging_metrics/dsg_error_metrics/</guid><description>&lt;p>Error Metrics allow a user to view details about errors, which are encountered while processing a file. The error metrics logging feature can be enabled at the service level.&lt;/p>
&lt;p>When the &lt;strong>Protegrity Data Protection&lt;/strong> Transform Rule is configured, certain error conditions can occur during processing. The following are some of the error conditions:&lt;/p>
&lt;ul>
&lt;li>The input is too short or long for a particular data element&lt;/li>
&lt;li>Invalid Email ID&lt;/li>
&lt;li>Invalid Data Type&lt;/li>
&lt;li>Invalid Credit Card Details&lt;/li>
&lt;/ul>
&lt;p>When these error conditions occur, the rule will stop processing. The permissive error handling feature is hence used to handle the errors and process the erroneous input file.&lt;/p></description></item></channel></rss>