<?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 Splunk btool vs literal search differ in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-btool-vs-literal-search-differ/m-p/448661#M3771</link>
    <description>&lt;P&gt;We are trying to override a field in &lt;CODE&gt;Splunk_TA_nix&lt;/CODE&gt;. &lt;BR /&gt;
Rather than working on &lt;CODE&gt;Splunk_TA_nix&lt;/CODE&gt; (local), we have a separate add-on for our company's customized settings. The add-on have higher order in ASCII  ( &lt;CODE&gt;MY_nix_addon&lt;/CODE&gt; )But when it comes to eventtypes.conf, somehow the override is NOT working.&lt;/P&gt;

&lt;P&gt;Btool output.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/etc/apps/MY_nix_addon/local/eventtypes.conf            [sshd_authentication]
/opt/splunk/etc/system/default/eventtypes.conf                          color = 
/opt/splunk/etc/system/default/eventtypes.conf                          description = 
/opt/splunk/etc/system/default/eventtypes.conf                          disabled = 0
/opt/splunk/etc/system/default/eventtypes.conf                          priority = 1
/opt/splunk/etc/apps/MY_nix_addon/local/eventtypes.conf            search = (index=idx_os) sshd (((Accepted OR Failed OR failure OR "Invalid user" OR "authentication error") from) OR "Authorized to" OR "Authentication tried" OR "Login restricted") 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But literal search still goes back to the one in &lt;CODE&gt;/opt/splunk/etc/apps/Splunk_TA_nix/local/eventtypes.conf&lt;/CODE&gt;    entry and is not restricted based on index. The actual search happens but on original &lt;CODE&gt;Splunk_TA_nix&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(NOT sourcetype=stash) NOT sourcetype=ossec sshd (((Accepted OR Failed OR failure OR "Invalid user" OR "authentication error") from) OR "Authorized to" OR "Authentication tried" OR "Login restricted")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The rest of the props.conf, transforms.conf works perfectly and if it shows in btool, the outcome is similar and we have been doing this for years. Somehow the eventtypes.conf btool vs literal search differs !!  (I've restarted multiple times). Running the search by copy-paste works perfectly too. &lt;/P&gt;

&lt;P&gt;any idea about this issue? Any other tricky things done by Splunk_TA_nix ?&lt;/P&gt;

&lt;P&gt;Update:&lt;BR /&gt;
in the WebUI, rather than merging it into single eventtype, it shows as two eventtypes !!&lt;BR /&gt;
&lt;IMG src="https://community.splunk.com/storage/temp/273504-sshd-auth.png" alt="alt text" /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 01:45:20 GMT</pubDate>
    <dc:creator>koshyk</dc:creator>
    <dc:date>2020-09-30T01:45:20Z</dc:date>
    <item>
      <title>Splunk btool vs literal search differ</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-btool-vs-literal-search-differ/m-p/448661#M3771</link>
      <description>&lt;P&gt;We are trying to override a field in &lt;CODE&gt;Splunk_TA_nix&lt;/CODE&gt;. &lt;BR /&gt;
Rather than working on &lt;CODE&gt;Splunk_TA_nix&lt;/CODE&gt; (local), we have a separate add-on for our company's customized settings. The add-on have higher order in ASCII  ( &lt;CODE&gt;MY_nix_addon&lt;/CODE&gt; )But when it comes to eventtypes.conf, somehow the override is NOT working.&lt;/P&gt;

&lt;P&gt;Btool output.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/opt/splunk/etc/apps/MY_nix_addon/local/eventtypes.conf            [sshd_authentication]
/opt/splunk/etc/system/default/eventtypes.conf                          color = 
/opt/splunk/etc/system/default/eventtypes.conf                          description = 
/opt/splunk/etc/system/default/eventtypes.conf                          disabled = 0
/opt/splunk/etc/system/default/eventtypes.conf                          priority = 1
/opt/splunk/etc/apps/MY_nix_addon/local/eventtypes.conf            search = (index=idx_os) sshd (((Accepted OR Failed OR failure OR "Invalid user" OR "authentication error") from) OR "Authorized to" OR "Authentication tried" OR "Login restricted") 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But literal search still goes back to the one in &lt;CODE&gt;/opt/splunk/etc/apps/Splunk_TA_nix/local/eventtypes.conf&lt;/CODE&gt;    entry and is not restricted based on index. The actual search happens but on original &lt;CODE&gt;Splunk_TA_nix&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(NOT sourcetype=stash) NOT sourcetype=ossec sshd (((Accepted OR Failed OR failure OR "Invalid user" OR "authentication error") from) OR "Authorized to" OR "Authentication tried" OR "Login restricted")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The rest of the props.conf, transforms.conf works perfectly and if it shows in btool, the outcome is similar and we have been doing this for years. Somehow the eventtypes.conf btool vs literal search differs !!  (I've restarted multiple times). Running the search by copy-paste works perfectly too. &lt;/P&gt;

&lt;P&gt;any idea about this issue? Any other tricky things done by Splunk_TA_nix ?&lt;/P&gt;

&lt;P&gt;Update:&lt;BR /&gt;
in the WebUI, rather than merging it into single eventtype, it shows as two eventtypes !!&lt;BR /&gt;
&lt;IMG src="https://community.splunk.com/storage/temp/273504-sshd-auth.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:45:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-btool-vs-literal-search-differ/m-p/448661#M3771</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2020-09-30T01:45:20Z</dc:date>
    </item>
  </channel>
</rss>

