<?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 crcSalt entries getting deleted on Forwarders inputs.conf, when changing Forwarder Data Inputs through GUI in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/crcSalt-entries-getting-deleted-on-Forwarders-inputs-conf-when/m-p/418758#M73843</link>
    <description>&lt;P&gt;Hello and good afternoon.&lt;/P&gt;

&lt;P&gt;I did run into the following issue and was wondering if anybody experienced the same and/or probably even has a solution:&lt;/P&gt;

&lt;P&gt;The Splunk Indexer and Forwarder we have are on these versions: &lt;EM&gt;Splunk 7.1.2 (build a0c72a66db66)&lt;/EM&gt;, &lt;EM&gt;Splunk Universal Forwarder 7.1.2 (build a0c72a66db66)&lt;/EM&gt;. The OS on both hosts is &lt;EM&gt;CentOS Linux release 7.5.1804&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;In the GUI we configured (as admin user) for the Forwarder under &lt;STRONG&gt;Data inputs | Forwarded inputs | Files &amp;amp; directories&lt;/STRONG&gt; certain entries. They are written on the Forwarder into file &lt;EM&gt;/opt/splunkforwarder/etc/apps/_server_app_SERVERCLASS1/local/inputs.conf&lt;/EM&gt;, with &lt;EM&gt;SERVERCLASS1&lt;/EM&gt; being the Server Class.&lt;/P&gt;

&lt;P&gt;Entries in the Forwarders &lt;EM&gt;inputs.conf&lt;/EM&gt; look, after adding them through the GUI, for instance like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///home/donald.duck/splunk_upload_dir/my_app1/*syslogs.log.txt]
disabled = 0
index = my_app1_index
sourcetype = my_app1_sourcetype
blacklist = \.filepart$
host = server1

[monitor:///home/goo.fey/splunk_upload_dir/my_app2/*applogs.log.txt]
disabled = 0
index = my_app2_index
sourcetype = my_app2_sourcetype
blacklist = \.filepart$
host = server2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In our environment however, the need arose to add also the &lt;STRONG&gt;&lt;EM&gt;crcSalt =&lt;/EM&gt;&lt;/STRONG&gt;   entry for each section on the Forwarders &lt;EM&gt;inputs.conf&lt;/EM&gt; file. Otherwise all source files won't be indexed properly or rather "won't be displayed as Sources" I should say.&lt;/P&gt;

&lt;P&gt;So in respect to the above examples, the file looks afterwards like follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///home/donald.duck/splunk_upload_dir/my_app1/*disney1.log.txt]
blacklist = \.filepart$
disabled = 0
index = my_app1_index
sourcetype = my_app1_sourcetype
host = server1
crcSalt = &amp;lt;SOURCE&amp;gt;

[monitor:///home/goo.fey/splunk_upload_dir/my_app2/*disney2.log.txt]
blacklist = \.filepart$
disabled = 0
index = my_app2_index
sourcetype = my_app2_sourcetype
host = server2
crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The &lt;STRONG&gt;&lt;EM&gt;crcSalt&lt;/EM&gt;&lt;/STRONG&gt; entry however, only can be made through the command line on OS level and not through the GUI. &lt;BR /&gt;
As it turned out however, whenever a change is made in the GUI through &lt;STRONG&gt;Data inputs | Forwarded inputs | Files &amp;amp; directories&lt;/STRONG&gt; to --any-- of these entries there and saved, --all-- the &lt;STRONG&gt;&lt;EM&gt;crcSalt&lt;/EM&gt;&lt;/STRONG&gt; entries in the &lt;EM&gt;inputs.conf&lt;/EM&gt; file on the Forwarder disappear and manually will have to be re-done.&lt;/P&gt;

&lt;P&gt;In my opinion this is not user friendly, a usual GUI-user might wonder why all of a sudden the indexed files won't show up as sources in the GUI anymore, not to mention a usual GUI user does not necessarily have access to command line level at all, to re-do the &lt;STRONG&gt;&lt;EM&gt;crcSalt&lt;/EM&gt;&lt;/STRONG&gt; entries.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Making on the other hand changes through &lt;STRONG&gt;Data inputs | Local inputs | Files &amp;amp; directories&lt;/STRONG&gt;, so for the Indexer instead, through the GUI, does not remove &lt;STRONG&gt;&lt;EM&gt;"crcSalt"&lt;/EM&gt;&lt;/STRONG&gt; entries on the relevant &lt;EM&gt;inputs.conf&lt;/EM&gt; file on the Indexer, e.g. under &lt;EM&gt;/opt/splunk/etc/apps/my_app1/local/inputs.conf&lt;/EM&gt;.&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;

&lt;P&gt;Many thanks in advance for the feedback and help.&lt;/P&gt;

&lt;P&gt;With best regards&lt;/P&gt;

&lt;P&gt;Ingo Bahn.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 20:58:37 GMT</pubDate>
    <dc:creator>ingobahn</dc:creator>
    <dc:date>2020-09-29T20:58:37Z</dc:date>
    <item>
      <title>crcSalt entries getting deleted on Forwarders inputs.conf, when changing Forwarder Data Inputs through GUI</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/crcSalt-entries-getting-deleted-on-Forwarders-inputs-conf-when/m-p/418758#M73843</link>
      <description>&lt;P&gt;Hello and good afternoon.&lt;/P&gt;

&lt;P&gt;I did run into the following issue and was wondering if anybody experienced the same and/or probably even has a solution:&lt;/P&gt;

&lt;P&gt;The Splunk Indexer and Forwarder we have are on these versions: &lt;EM&gt;Splunk 7.1.2 (build a0c72a66db66)&lt;/EM&gt;, &lt;EM&gt;Splunk Universal Forwarder 7.1.2 (build a0c72a66db66)&lt;/EM&gt;. The OS on both hosts is &lt;EM&gt;CentOS Linux release 7.5.1804&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;In the GUI we configured (as admin user) for the Forwarder under &lt;STRONG&gt;Data inputs | Forwarded inputs | Files &amp;amp; directories&lt;/STRONG&gt; certain entries. They are written on the Forwarder into file &lt;EM&gt;/opt/splunkforwarder/etc/apps/_server_app_SERVERCLASS1/local/inputs.conf&lt;/EM&gt;, with &lt;EM&gt;SERVERCLASS1&lt;/EM&gt; being the Server Class.&lt;/P&gt;

&lt;P&gt;Entries in the Forwarders &lt;EM&gt;inputs.conf&lt;/EM&gt; look, after adding them through the GUI, for instance like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///home/donald.duck/splunk_upload_dir/my_app1/*syslogs.log.txt]
disabled = 0
index = my_app1_index
sourcetype = my_app1_sourcetype
blacklist = \.filepart$
host = server1

[monitor:///home/goo.fey/splunk_upload_dir/my_app2/*applogs.log.txt]
disabled = 0
index = my_app2_index
sourcetype = my_app2_sourcetype
blacklist = \.filepart$
host = server2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In our environment however, the need arose to add also the &lt;STRONG&gt;&lt;EM&gt;crcSalt =&lt;/EM&gt;&lt;/STRONG&gt;   entry for each section on the Forwarders &lt;EM&gt;inputs.conf&lt;/EM&gt; file. Otherwise all source files won't be indexed properly or rather "won't be displayed as Sources" I should say.&lt;/P&gt;

&lt;P&gt;So in respect to the above examples, the file looks afterwards like follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///home/donald.duck/splunk_upload_dir/my_app1/*disney1.log.txt]
blacklist = \.filepart$
disabled = 0
index = my_app1_index
sourcetype = my_app1_sourcetype
host = server1
crcSalt = &amp;lt;SOURCE&amp;gt;

[monitor:///home/goo.fey/splunk_upload_dir/my_app2/*disney2.log.txt]
blacklist = \.filepart$
disabled = 0
index = my_app2_index
sourcetype = my_app2_sourcetype
host = server2
crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The &lt;STRONG&gt;&lt;EM&gt;crcSalt&lt;/EM&gt;&lt;/STRONG&gt; entry however, only can be made through the command line on OS level and not through the GUI. &lt;BR /&gt;
As it turned out however, whenever a change is made in the GUI through &lt;STRONG&gt;Data inputs | Forwarded inputs | Files &amp;amp; directories&lt;/STRONG&gt; to --any-- of these entries there and saved, --all-- the &lt;STRONG&gt;&lt;EM&gt;crcSalt&lt;/EM&gt;&lt;/STRONG&gt; entries in the &lt;EM&gt;inputs.conf&lt;/EM&gt; file on the Forwarder disappear and manually will have to be re-done.&lt;/P&gt;

&lt;P&gt;In my opinion this is not user friendly, a usual GUI-user might wonder why all of a sudden the indexed files won't show up as sources in the GUI anymore, not to mention a usual GUI user does not necessarily have access to command line level at all, to re-do the &lt;STRONG&gt;&lt;EM&gt;crcSalt&lt;/EM&gt;&lt;/STRONG&gt; entries.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Making on the other hand changes through &lt;STRONG&gt;Data inputs | Local inputs | Files &amp;amp; directories&lt;/STRONG&gt;, so for the Indexer instead, through the GUI, does not remove &lt;STRONG&gt;&lt;EM&gt;"crcSalt"&lt;/EM&gt;&lt;/STRONG&gt; entries on the relevant &lt;EM&gt;inputs.conf&lt;/EM&gt; file on the Indexer, e.g. under &lt;EM&gt;/opt/splunk/etc/apps/my_app1/local/inputs.conf&lt;/EM&gt;.&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;

&lt;P&gt;Many thanks in advance for the feedback and help.&lt;/P&gt;

&lt;P&gt;With best regards&lt;/P&gt;

&lt;P&gt;Ingo Bahn.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:58:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/crcSalt-entries-getting-deleted-on-Forwarders-inputs-conf-when/m-p/418758#M73843</guid>
      <dc:creator>ingobahn</dc:creator>
      <dc:date>2020-09-29T20:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: crcSalt entries getting deleted on Forwarders inputs.conf, when changing Forwarder Data Inputs through GUI</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/crcSalt-entries-getting-deleted-on-Forwarders-inputs-conf-when/m-p/418759#M73844</link>
      <description>&lt;P&gt;Hi ingobahn,&lt;BR /&gt;
maybe I'm old but I usually manage inputs.conf in Forwarders using Deployment Server and not the GUI!&lt;BR /&gt;
In other words i suggest to create a Technical Add-On (TA) on your Splunk Enterprise Server putting your inputs.conf in an App and then deploy it to your forwarder following  instructions at &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.2/Updating/Deploymentserverarchitecture"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.2/Updating/Deploymentserverarchitecture&lt;/A&gt; .&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 16:44:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/crcSalt-entries-getting-deleted-on-Forwarders-inputs-conf-when/m-p/418759#M73844</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-08-22T16:44:37Z</dc:date>
    </item>
  </channel>
</rss>

