<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Custom Configuration File Not Replicating Across Search Head Cluster in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747033#M11940</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm developing an app that uses a custom configuration file. I'm updating the file using the Splunk JavaScript SDK and REST API calls. In my lab setup (Splunk 9.4.1), everything works as expected—the custom config file is replicated correctly.&lt;/P&gt;&lt;P&gt;However, when I deploy the app in our production environment (also running Splunk 9.4.1), changes to the configuration file do not replicate to the other search heads. I used &lt;FONT color="#FF6600"&gt;btool&lt;/FONT&gt; to verify that the file is not excluded from replication.&lt;/P&gt;&lt;P&gt;Has anyone encountered a similar issue? What steps can I take to investigate and debug this? What specific logs or configurations should I check?&lt;/P&gt;</description>
    <pubDate>Tue, 27 May 2025 19:44:50 GMT</pubDate>
    <dc:creator>wipark</dc:creator>
    <dc:date>2025-05-27T19:44:50Z</dc:date>
    <item>
      <title>Custom Configuration File Not Replicating Across Search Head Cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747033#M11940</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm developing an app that uses a custom configuration file. I'm updating the file using the Splunk JavaScript SDK and REST API calls. In my lab setup (Splunk 9.4.1), everything works as expected—the custom config file is replicated correctly.&lt;/P&gt;&lt;P&gt;However, when I deploy the app in our production environment (also running Splunk 9.4.1), changes to the configuration file do not replicate to the other search heads. I used &lt;FONT color="#FF6600"&gt;btool&lt;/FONT&gt; to verify that the file is not excluded from replication.&lt;/P&gt;&lt;P&gt;Has anyone encountered a similar issue? What steps can I take to investigate and debug this? What specific logs or configurations should I check?&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 19:44:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747033#M11940</guid>
      <dc:creator>wipark</dc:creator>
      <dc:date>2025-05-27T19:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Configuration File Not Replicating Across Search Head Cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747038#M11941</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/268826"&gt;@wipark&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Within your app, have you set a&amp;nbsp;conf_replication_include key/value pair to tell the system to replicate it?&lt;/P&gt;&lt;PRE&gt;conf_replication_include.&amp;lt;conf_file_name&amp;gt; = &amp;lt;boolean&amp;gt;&lt;/PRE&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;PRE&gt;conf_replication_include.yourCustomConfFile = true&lt;/PRE&gt;&lt;P&gt;Is your production environment a different architecture (e.g. SHC vs single instance) than your local environment?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 21:04:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747038#M11941</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-05-27T21:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Configuration File Not Replicating Across Search Head Cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747040#M11942</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Within your app, have you set a&amp;nbsp;conf_replication_include key/value pair to tell the system to replicate it?&lt;/P&gt;&lt;PRE&gt;conf_replication_include.&amp;lt;conf_file_name&amp;gt; = &amp;lt;boolean&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes I have set that.&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;Is your production environment a different architecture (e.g. SHC vs single instance) than your local environment?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;No, both are SHCs.&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 21:19:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747040#M11942</guid>
      <dc:creator>wipark</dc:creator>
      <dc:date>2025-05-27T21:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Configuration File Not Replicating Across Search Head Cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747052#M11943</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/268826"&gt;@wipark&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Check for Replication Quarantine or Bundle Issues&lt;BR /&gt;Large or problematic files (e.g., big CSV lookups) can cause replication to fail or be quarantined.&lt;/P&gt;&lt;P&gt;Review the metrics.log and splunkd.log on all SHC members for replication errors or warnings&lt;/P&gt;&lt;P&gt;Test Manual Change&lt;BR /&gt;Make a simple change to a standard file (e.g. props.conf) via the UI or REST API and see if it replicates.&lt;/P&gt;&lt;P&gt;If standard files replicate but your custom file does not, it’s likely a file location or inclusion issue.&lt;/P&gt;&lt;P&gt;If the cluster is out of sync - Force Resync if required eg: splunk resync shcluster-replicated-config&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Prewin&lt;BR /&gt;Splunk Enthusiast | Always happy to help! If this answer helped you, please consider marking it as the solution or giving a kudos. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 04:30:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747052#M11943</guid>
      <dc:creator>PrewinThomas</dc:creator>
      <dc:date>2025-05-28T04:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Configuration File Not Replicating Across Search Head Cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747072#M11944</link>
      <description>&lt;P&gt;Hmm that is odd. It might be worth checking for any custom&amp;nbsp;&lt;SPAN&gt;distsearch.conf settings on your production environment which might be blocking things. Please can you do a btool against&amp;nbsp;distsearch and look for anything which is in local?&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$SPLUNK_HOME/bin/splunk cmd btool distsearch list --debug&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 06:21:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747072#M11944</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-05-28T06:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Configuration File Not Replicating Across Search Head Cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747107#M11945</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/28010"&gt;@PrewinThomas&lt;/a&gt;&amp;nbsp;, I have reviewed the app configuration and logs but could not find any errors related to the issue.&lt;BR /&gt;The application includes a passwords.conf file, which is replicated immediately across the SHC nodes. I wasn't able to find any exclusions regarding the custom file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 10:15:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747107#M11945</guid>
      <dc:creator>wipark</dc:creator>
      <dc:date>2025-05-28T10:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Configuration File Not Replicating Across Search Head Cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747111#M11946</link>
      <description>&lt;P&gt;I found that only a couple of lookups were referenced in local files. I also reviewed all allowlist and denylist settings in distsearch.conf, and everything appears to be in order.&lt;/P&gt;&lt;P&gt;Additionally, I compared the server.conf files in both environments using btool. There were no significant differences aside from some expected variations in names and IDs. The only notable difference—though I doesn't seem to be relevant—is that captain_is_adhoc_searchhead is set to true in production.&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 10:40:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747111#M11946</guid>
      <dc:creator>wipark</dc:creator>
      <dc:date>2025-05-28T10:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Configuration File Not Replicating Across Search Head Cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747126#M11947</link>
      <description>&lt;P&gt;I’m not sure if this helps, but changes made on the search head cluster captain do appear in the bundle under /opt/splunk/var/run.&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 14:43:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747126#M11947</guid>
      <dc:creator>wipark</dc:creator>
      <dc:date>2025-05-28T14:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Configuration File Not Replicating Across Search Head Cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747282#M11948</link>
      <description>&lt;P&gt;I copied the effective &lt;FONT face="courier new,courier"&gt;distsearch.conf&lt;/FONT&gt; from production (using &lt;FONT face="courier new,courier"&gt;btool&lt;/FONT&gt;) to my lab setup under &lt;FONT face="courier new,courier"&gt;$SPLUNK_HOME/etc/system/local&lt;/FONT&gt;. After restarting Splunk, I verified it again with &lt;FONT face="courier new,courier"&gt;btool&lt;/FONT&gt; to confirm it matched the production configuration. Replication is still working fine in the lab setup, so it seems there's nothing wrong with &lt;FONT face="courier new,courier"&gt;distsearch.conf&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 19:16:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747282#M11948</guid>
      <dc:creator>wipark</dc:creator>
      <dc:date>2025-05-30T19:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Configuration File Not Replicating Across Search Head Cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747289#M11949</link>
      <description>&lt;P&gt;Sorry, sent this twice and was not able to delete.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jun 2025 10:36:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747289#M11949</guid>
      <dc:creator>wipark</dc:creator>
      <dc:date>2025-06-08T10:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Configuration File Not Replicating Across Search Head Cluster</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747290#M11950</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I&amp;nbsp;&lt;/SPAN&gt;enabled additional logging on the production setup and updated the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;passwords.conf&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;customfile.conf&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;files—first on the search head captain (sh01), and then on another member (sh03).&lt;/P&gt;&lt;P&gt;In both cases, logs were generated for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;passwords.conf&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;updates. However, there were no logs related to the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;customfile.conf&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file.&lt;/P&gt;&lt;P&gt;The first set of logs corresponds to the update on the captain (sh01), and the second set corresponds to the update on the member (sh03).&amp;nbsp;Sensitive fields have been redacted or anonymized.&lt;/P&gt;&lt;PRE&gt;05-30-2025 10:10:10.185 +0000 DEBUG ConfReplication [1692624 TcpChannelThread] - addCommit: to_repo=https://sh01.acme.com:8089, op_id=1252dcef9d0f33386e7feab562eba92d424515ea, applied_at=1748599810, asset_id=c922db4bf111d426f1e8eb78181cb8f43b185f52, asset_uri=/nobody/custom-app/passwords/credential:custom-app_realm:password:, optype=WRITE_STANZA, payload={ password = REDACTED [ {  }, removable: yes ]\n }, extra_payload=
05-30-2025 10:10:13.591 +0000 DEBUG ConfReplication [2010047 ConfReplicationThread] - pullFrom_Locked: status=handling, from_repo=https://sh01.acme.com:8089, to_repo=https://sh03.acme.com:8089, op_id=1252dcef9d0f33386e7feab562eba92d424515ea, applied_at=1748599810, asset_id=c922db4bf111d426f1e8eb78181cb8f43b185f52, asset_uri=/nobody/custom-app/passwords/credential:custom-app_realm:password:, optype=WRITE_STANZA, payload={ password = REDACTED [ {  }, removable: yes ]\n }, extra_payload=
05-30-2025 10:10:13.591 +0000 DEBUG ConfReplication [2010047 ConfReplicationThread] - pullFrom_Locked: status=applied, reason="", from_repo=https://sh01.acme.com:8089, to_repo=https://sh03.acme.com:8089, op_id=1252dcef9d0f33386e7feab562eba92d424515ea, applied_at=1748599813, asset_id=c922db4bf111d426f1e8eb78181cb8f43b185f52, asset_uri=/nobody/custom-app/passwords/credential:custom-app_realm:password:, optype=WRITE_STANZA, payload={ password = REDACTED [ {  }, removable: yes ]\n }, extra_payload=&lt;/PRE&gt;&lt;PRE&gt;05-30-2025 10:10:10.497 +0000 DEBUG ConfReplication [3612371 TcpChannelThread] - addCommit: to_repo=https://sh03.acme.com:8089, op_id=481af55d46acfb6f4da973c3aac4af9e8ab2e0e6, applied_at=1748599810, asset_id=c922db4bf111d426f1e8eb78181cb8f43b185f52, asset_uri=/nobody/custom-app/passwords/credential:custom-app_realm:password:, optype=WRITE_STANZA, payload={ password = REDACTED [ {  }, removable: yes ]\n }, extra_payload=
05-30-2025 10:10:10.501 +0000 DEBUG ConfReplication [2010047 ConfReplicationThread] - ConfOpStorage: toPush ptr=0x7ff55ebfcd50, pos=0, repo=https://sh03.acme.com:8089, op_id=481af55d46acfb6f4da973c3aac4af9e8ab2e0e6, applied_at=1748599810, asset_id=c922db4bf111d426f1e8eb78181cb8f43b185f52, asset_uri=/nobody/custom-app/passwords/credential:custom-app_realm:password:, optype=WRITE_STANZA, payload={ password = REDACTED [ {  }, removable: yes ]\n }, extra_payload=
05-30-2025 10:10:10.507 +0000 DEBUG ConfReplication [1993289 TcpChannelThread] - acceptPush_Locked: status=handling, from_repo=https://sh03.acme.com:8089, to_repo=https://sh01.acme.com:8089, op_id=481af55d46acfb6f4da973c3aac4af9e8ab2e0e6, applied_at=1748599810, asset_id=c922db4bf111d426f1e8eb78181cb8f43b185f52, asset_uri=/nobody/custom-app/passwords/credential:custom-app_realm:password:, optype=WRITE_STANZA, payload={ password = REDACTED [ {  }, removable: yes ]\n }, extra_payload=
05-30-2025 10:10:10.511 +0000 DEBUG ConfReplication [1993289 TcpChannelThread] - acceptPush_Locked: status=applied, reason="", from_repo=https://sh03.acme.com:8089, to_repo=https://sh01.acme.com:8089, op_id=481af55d46acfb6f4da973c3aac4af9e8ab2e0e6, applied_at=1748599810, asset_id=c922db4bf111d426f1e8eb78181cb8f43b185f52, asset_uri=/nobody/custom-app/passwords/credential:custom-app_realm:password:, optype=WRITE_STANZA, payload={ password = REDACTED [ {  }, removable: yes ]\n }, extra_payload=&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 May 2025 08:09:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Custom-Configuration-File-Not-Replicating-Across-Search-Head/m-p/747290#M11950</guid>
      <dc:creator>wipark</dc:creator>
      <dc:date>2025-05-31T08:09:05Z</dc:date>
    </item>
  </channel>
</rss>

