<?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 Re: Source Type Stuck on too_small in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641304#M109387</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252540"&gt;@tretrigh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;sometimes (I don't know why) there's some situation when in the add-on isn't defined the sourcetype, so Splunk automatuically assign the sourcetype based on its knowledge and sometimes it cannot find the correct one.&lt;/P&gt;&lt;P&gt;So analyze your logs where there's a too small sourcetype, find the Add-On with that input and manually assign the correct one in the add-on.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2023 15:51:45 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2023-04-25T15:51:45Z</dc:date>
    <item>
      <title>Why is source type stuck on too_small?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641286#M109382</link>
      <description>&lt;P&gt;In our distributed enterprise Splunk environment we have a log file being generated on each Splunk host (indexers, search head, deployment server, etc) located at:&amp;nbsp;&lt;STRONG&gt;/opt/splunk/var/log/splunk/foo.log&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;By default this gets logged to &lt;STRONG&gt;_internal&lt;/STRONG&gt; using the &lt;STRONG&gt;foo-too_small &lt;/STRONG&gt;source type.&lt;/P&gt;
&lt;P&gt;We now want to change the source type to one we created (&lt;STRONG&gt;my:custom:sourcetype&lt;/STRONG&gt;).&amp;nbsp; I have created the following &lt;STRONG&gt;props.conf&lt;/STRONG&gt; file on the deployment server as a custom app and deployed successfully via apply cluster-bundle.&amp;nbsp; However, new log data is still being associated with the existing source type of foo-too_small.&amp;nbsp; We also set the local.meta file (under metadata) for permissions.&lt;/P&gt;
&lt;P&gt;I have verified this file is making it to the indexers in peer-apps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[my:custom:sourcetype]
TIME_FORMAT = %Y-%m-%d %H:%M:%S,%3N
MAX_TIMESTAMP_LOOKAHEAD = 25

[source::.../var/log/splunk/foo.log]
sourcetype = my:custom:sourcetype&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Why isn't this working?&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;What needs to be done instead to change to a custom source type?&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 17:44:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641286#M109382</guid>
      <dc:creator>tretrigh</dc:creator>
      <dc:date>2023-04-25T17:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Source Type Stuck on too_small</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641290#M109383</link>
      <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/Latest/Admin/Propsconf#Small_file_settings" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/Latest/Admin/Propsconf#Small_file_settings&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 15:01:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641290#M109383</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-04-25T15:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Source Type Stuck on too_small</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641296#M109384</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252540"&gt;@tretrigh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;check if in your forwarders, there's some input without sourcetype definition.&lt;/P&gt;&lt;P&gt;You can do it analyzing host and source values.&lt;/P&gt;&lt;P&gt;Assign the correct sourcetype to all your inputs.&lt;/P&gt;&lt;P&gt;ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 15:19:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641296#M109384</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-04-25T15:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: Source Type Stuck on too_small</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641302#M109385</link>
      <description>&lt;P&gt;Thank you for the reply.&amp;nbsp; I might be missing something obvious, but unsure how any of these settings might help us reassign the source type to something else.&amp;nbsp; Could you please provide further elaboration?&amp;nbsp; Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 15:40:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641302#M109385</guid>
      <dc:creator>tretrigh</dc:creator>
      <dc:date>2023-04-25T15:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Source Type Stuck on too_small</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641303#M109386</link>
      <description>&lt;P&gt;Thank you for the reply.&amp;nbsp; Do you have any specific guidance on how to apply the correct source type to our data in our situation?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 15:42:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641303#M109386</guid>
      <dc:creator>tretrigh</dc:creator>
      <dc:date>2023-04-25T15:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Source Type Stuck on too_small</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641304#M109387</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252540"&gt;@tretrigh&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;sometimes (I don't know why) there's some situation when in the add-on isn't defined the sourcetype, so Splunk automatuically assign the sourcetype based on its knowledge and sometimes it cannot find the correct one.&lt;/P&gt;&lt;P&gt;So analyze your logs where there's a too small sourcetype, find the Add-On with that input and manually assign the correct one in the add-on.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 15:51:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641304#M109387</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-04-25T15:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Source Type Stuck on too_small</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641305#M109388</link>
      <description>&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;.&amp;nbsp; In this situation there is no add on.&amp;nbsp; The log file on each Splunk host is generated by a script we wrote.&amp;nbsp; We have attempted to manually define the source type for this specific log unsuccessfully.&amp;nbsp; Do you have any suggestions for how to correctly manually define the source type other than what we've already done?&amp;nbsp; Thank you for the assistance!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 15:57:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641305#M109388</guid>
      <dc:creator>tretrigh</dc:creator>
      <dc:date>2023-04-25T15:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Source Type Stuck on too_small</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641327#M109391</link>
      <description>&lt;P&gt;Every Splunk input should have a sourcetype assigned to it.&lt;/P&gt;&lt;P&gt;Every sourcetype needs to be defined in a props.conf file.&lt;/P&gt;&lt;P&gt;Every props.conf stanza should have the "Great Eight" attributes, at a minimum.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[mysourcetype]
TIME_PREFIX = 
TIME_FORMAT = 
MAX_TIMESTAMP_LOOKAHEAD = 
TRUNCATE = 
SHOULD_LINEMERGE = false
LINE_BREAKER =
EVENT_BREAKER = 
EVENT_BREAKER_ENABLE = true&lt;/LI-CODE&gt;&lt;P&gt;Set values for each attribute that correspond to the data being ingested.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 17:29:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641327#M109391</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-04-25T17:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why is source type stuck on too_small?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641339#M109392</link>
      <description>&lt;P&gt;Answering my own question here:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Several indexers were not automatically getting the new source type applied for unknown reasons.&amp;nbsp; I was specifically looking at one which was not.&amp;nbsp; A reboot of each indexer missing the source type resolved the issue.&amp;nbsp; A splunkd restart would probably have been sufficient.&amp;nbsp; All indexers are working as intended.&lt;/LI&gt;&lt;LI&gt;I added the app to each splunk host (SH, deployment server, etc) which defines the new source type.&amp;nbsp; A debug refresh populated the new source type correctly on each host.&amp;nbsp; I incorrectly assumed that the app's presence on the indexers would affect the data coming from each of the splunk hosts.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 25 Apr 2023 19:31:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641339#M109392</guid>
      <dc:creator>tretrigh</dc:creator>
      <dc:date>2023-04-25T19:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why is source type stuck on too_small?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641384#M109393</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252540"&gt;@tretrigh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 06:46:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-source-type-stuck-on-too-small/m-p/641384#M109393</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-04-26T06:46:21Z</dc:date>
    </item>
  </channel>
</rss>

