<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA General Task//EN" "generalTask.dtd">
<task id="task_lxk_kjw_1r">
    <title>Configuring Data Collector</title>
    <shortdesc>You can customize <ph
            conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"/> by
        editing the <ph
            conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"/>
        configuration file, <codeph>sdc.properties</codeph>. </shortdesc>
    <taskbody>
        <context><p><indexterm>Data Collector configuration
                    file<indexterm>configuring</indexterm></indexterm><indexterm>sdc.properties
                        file<indexterm>configuring</indexterm></indexterm><indexterm>email<indexterm>Data
                        Collector configuration</indexterm></indexterm>Use a text editor to edit the
                    <ph
                    conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                /> configuration file, <codeph>$SDC_CONF/sdc.properties</codeph>. To enable the
                changes, restart <ph
                    conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                />. </p><p>The <ph
                    conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                /> configuration file includes the following general properties:<table frame="all"
                    rowsep="1" colsep="1" id="table_eyq_gkw_1r">
                    <tgroup cols="2">
                        <colspec colname="c1" colnum="1" colwidth="1.5*"/>
                        <colspec colname="c2" colnum="2" colwidth="3.0*"/>
                        <thead>
                            <row>
                                <entry>General Property</entry>
                                <entry>Description</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>sdc.base.http.url </entry>
                                <entry>Data Collector URL that is included in emails sent for metric
                                    and data alerts. <p>Default is
                                            <codeph>http://&lt;hostname>:&lt;http.port></codeph>
                                        where <codeph>&lt;hostname></codeph> is the value defined in
                                        the http.bindHost property. If the host name is not defined
                                        in http.bindHost, <ph
                                            conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                        /> runs the following command to determine the host name:
                                            <codeph>hostname -f</codeph></p><p>Be sure to uncomment
                                        the property if you change the value.</p></entry>
                            </row>
                            <row>
                                <entry>http.bindHost</entry>
                                <entry>Host name or IP address that <ph
                                        conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                    /> binds to. You might want to configure a specific host or IP
                                    address when the machine that <ph
                                        conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                    /> is installed on has multiple network cards.<p>Default is
                                        0.0.0.0, which means that <ph
                                            conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                        /> can bind to any host or IP address. Be sure to uncomment
                                        the property if you change the value.</p></entry>
                            </row>
                            <row>
                                <entry>http.maxThreads</entry>
                                <entry>Maximum number of concurrent threads the <ph
                                        conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                    /> web server uses to serve UI requests. <p>Default is 200.
                                        Uncomment the property to change the value, but increasing
                                        this value is not recommended. </p></entry>
                            </row>
                            <row>
                                <entry>http.port</entry>
                                <entry>Port number to use for the <ph
                                        conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                    /> console. <p>Default is 18630.</p></entry>
                            </row>
                            <row>
                                <entry>https.port</entry>
                                <entry>Secure port number for the <ph
                                        conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                    /> console. Any number besides -1 enables the secure port
                                    number. <p>If you use both port properties, the HTTP port
                                        bounces to the HTTPS port.</p><p>Default is -1.</p></entry>
                            </row>
                            <row>
                                <entry>https.keystore.path</entry>
                                <entry>Keystore path and file name. Enter an absolute path or a path
                                    relative to the <codeph>$SDC_CONF</codeph> directory. For
                                    cluster pipelines, enter the path to the file on the gateway
                                        node.<p>Default is <filepath>sdc-keystore.jks</filepath> in
                                        the <codeph>$SDC_CONF</codeph> directory.</p></entry>
                            </row>
                            <row>
                                <entry>https.keystore.password</entry>
                                <entry>Path and name of the file that contains the password to the
                                    keystore file. Enter an absolute path or a path relative to the
                                        <codeph>$SDC_CONF</codeph> directory. For cluster pipelines,<commit_msg>DOC-553 - new sdc property to enable forwarded requests<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA General Task//EN" "generalTask.dtd">
<task id="task_lxk_kjw_1r">
    <title>Configuring Data Collector</title>
    <shortdesc>You can customize <ph
            conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"/> by
        editing the <ph
            conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"/>
        configuration file, <codeph>sdc.properties</codeph>. </shortdesc>
    <taskbody>
        <context><p><indexterm>Data Collector configuration
                    file<indexterm>configuring</indexterm></indexterm><indexterm>sdc.properties
                        file<indexterm>configuring</indexterm></indexterm><indexterm>email<indexterm>Data
                        Collector configuration</indexterm></indexterm>Use a text editor to edit the
                    <ph
                    conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                /> configuration file, <codeph>$SDC_CONF/sdc.properties</codeph>. To enable the
                changes, restart <ph
                    conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                />. </p><p>The <ph
                    conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                /> configuration file includes the following general properties:<table frame="all"
                    rowsep="1" colsep="1" id="table_eyq_gkw_1r">
                    <tgroup cols="2">
                        <colspec colname="c1" colnum="1" colwidth="1.5*"/>
                        <colspec colname="c2" colnum="2" colwidth="3.0*"/>
                        <thead>
                            <row>
                                <entry>General Property</entry>
                                <entry>Description</entry>
                            </row>
                        </thead>
                        <tbody>
                            <row>
                                <entry>sdc.base.http.url </entry>
                                <entry>Data Collector URL that is included in emails sent for metric
                                    and data alerts. <p>Default is
                                            <codeph>http://&lt;hostname>:&lt;http.port></codeph>
                                        where <codeph>&lt;hostname></codeph> is the value defined in
                                        the http.bindHost property. If the host name is not defined
                                        in http.bindHost, <ph
                                            conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                        /> runs the following command to determine the host name:
                                            <codeph>hostname -f</codeph></p><p>Be sure to uncomment
                                        the property if you change the value.</p></entry>
                            </row>
                            <row>
                                <entry>http.bindHost</entry>
                                <entry>Host name or IP address that <ph
                                        conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                    /> binds to. You might want to configure a specific host or IP
                                    address when the machine that <ph
                                        conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                    /> is installed on has multiple network cards.<p>Default is
                                        0.0.0.0, which means that <ph
                                            conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                        /> can bind to any host or IP address. Be sure to uncomment
                                        the property if you change the value.</p></entry>
                            </row>
                            <row>
                                <entry>http.maxThreads</entry>
                                <entry>Maximum number of concurrent threads the <ph
                                        conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                    /> web server uses to serve UI requests. <p>Default is 200.
                                        Uncomment the property to change the value, but increasing
                                        this value is not recommended. </p></entry>
                            </row>
                            <row>
                                <entry>http.port</entry>
                                <entry>Port number to use for the <ph
                                        conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                    /> console. <p>Default is 18630.</p></entry>
                            </row>
                            <row>
                                <entry>https.port</entry>
                                <entry>Secure port number for the <ph
                                        conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                    /> console. Any number besides -1 enables the secure port
                                    number. <p>If you use both port properties, the HTTP port
                                        bounces to the HTTPS port.</p><p>Default is -1.</p></entry>
                            </row>
                            <row>
                                <entry>http.enable.forwarded.requests</entry>
                                <entry>Enables handling X-Forwarded-For, X-Forwarded-Proto,
                                    X-Forwarded-Port HTTP request headers issued by a reverse proxy
                                    such as HAProxy, ELB, or NGINX. <p>Set to true when hosting <ph
                                            conref="../Reusable_Content/ReusablePhrases.dita#concept_vhs_5tz_xp/pName-long"
                                        /> behind a reverse proxy or load balancer.</p><p>Default is
                                        false.</p></entry>
                            </row>
                            <row>
                                <entry>https.keystore.path</entry>
                                <entry>Keystore path and file name. Enter an absolute path or a path
                                    relative to the <codeph>$SDC_CONF</codeph> directory. For
                                    cluster pipelines, enter the path to the file on the gateway
                                        node.<p>Default is <filepath>sdc-keystore.jks</filepath> in
                                        the <codeph>$SDC_CONF</codeph> directory.</p></entry>
                            </row>
                            <row>
                                <entry>https.keystore.password</entry>
                                <entry>Path and name of the file that contains the password to the
                                    keystore file. Enter an absolute path or a path relative to the
                                        <codeph>$SDC_CONF</codeph> directory. For cluster pipelines,
{'fraction_non_alphanumeric': 0.08277232801179714, 'fraction_numerical': 0.006155029813425659, 'mean_word_length': 1.1642847231857916, 'pattern_counts': {'":': 0, '<': 262, '<?xml version=': 2, '>': 268, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 102, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6542766', 'n_tokens_mistral': 3731, 'n_tokens_neox': 3487, 'n_words': 942}