<?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: Fields that were once extracted aren't being extracted anymore... why? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251396#M75131</link>
    <description>&lt;P&gt;That's a good idea.  I've tried that, so my &lt;CODE&gt;inputs.conf&lt;/CODE&gt; now looks like &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://c:\Program Files\Blackberry\BES\Logs\*\BES12_BSCP-TS*.txt]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 29 Jan 2016 22:18:17 GMT</pubDate>
    <dc:creator>_dave_b</dc:creator>
    <dc:date>2016-01-29T22:18:17Z</dc:date>
    <item>
      <title>Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251391#M75126</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;

&lt;P&gt;I made an app. It worked good and extracted data exactly the way I wanted it to.  I am now trying to duplicate the app, using the same custom field extractions, but some key fields aren't being extracted, despite using the exact same regex as before!  &lt;/P&gt;

&lt;P&gt;The permissions are global for all objects in the app.  Anybody have any ideas why my fields won't get extracted?  &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 22:25:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251391#M75126</guid>
      <dc:creator>_dave_b</dc:creator>
      <dc:date>2016-01-28T22:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251392#M75127</link>
      <description>&lt;P&gt;Your fields are relative to the sourcetype. Can you verify that your sourcetype has not changed? &lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 22:34:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251392#M75127</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-01-28T22:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251393#M75128</link>
      <description>&lt;P&gt;Thanks for your reply.  I just did a global search checked the &lt;CODE&gt;sourcetype&lt;/CODE&gt;.  The &lt;CODE&gt;sourcetype&lt;/CODE&gt; specified in the search has changed.  Originally it was 'sourcetype-ts', Splunk appended 'too_small', so now it's being reported as 'sourcetype-too_small'.&lt;/P&gt;

&lt;P&gt;Why does Splunk do this and how can I get around it?  A little searching tells me Splunk does this to CSV files when it gets confused by them, but my log files aren't CSV, they just plain text, formatted with date-time stamps.  I edited &lt;CODE&gt;props.conf&lt;/CODE&gt; in the &lt;CODE&gt;$SPLUNK_HOME\etc\system\local&lt;/CODE&gt; to like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::c:\Program Files\OS\Logs\*\LogType-TS*.txt]
sourcetype=OS_LogType-TS
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where the first * wildcard is there to consume a YYYYMMDD value and the second * wildcard consumes anything that may get appended by Splunk, like &lt;CODE&gt;too-small&lt;/CODE&gt;.  I was hoping that all the sourcetypes with 'too-small' appended to the name would be read&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:37:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251393#M75128</guid>
      <dc:creator>_dave_b</dc:creator>
      <dc:date>2020-09-29T08:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251394#M75129</link>
      <description>&lt;P&gt;Why not assign the sourcetype in the data inputs (inputs.conf)?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 18:29:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251394#M75129</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-01-29T18:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251395#M75130</link>
      <description>&lt;P&gt;As @somesoni2 pointed out, you should assign the sourcetype in your inputs.conf (On the forwarder) so it won't change. This will prevent the problems in the future, or in your case sourcetypes changing &lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 18:54:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251395#M75130</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-01-29T18:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251396#M75131</link>
      <description>&lt;P&gt;That's a good idea.  I've tried that, so my &lt;CODE&gt;inputs.conf&lt;/CODE&gt; now looks like &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://c:\Program Files\Blackberry\BES\Logs\*\BES12_BSCP-TS*.txt]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Jan 2016 22:18:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251396#M75131</guid>
      <dc:creator>_dave_b</dc:creator>
      <dc:date>2016-01-29T22:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251397#M75132</link>
      <description>&lt;P&gt;Thanks.  It still doesn't work, though &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;  &lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 22:19:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251397#M75132</guid>
      <dc:creator>_dave_b</dc:creator>
      <dc:date>2016-01-29T22:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251398#M75133</link>
      <description>&lt;P&gt;That's incorrect. Your stanza should look like this.. Don't forget to restart the Splunk service  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[Source::YOUR SOURCE]
host = HOSTNAME
sourcetype = OS_LogType-TS
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 30 Jan 2016 02:20:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251398#M75133</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-01-30T02:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251399#M75134</link>
      <description>&lt;P&gt;According to the docs for &lt;CODE&gt;props.conf&lt;/CODE&gt;, &lt;CODE&gt;sourcetype&lt;/CODE&gt; can be used as a spec for a stanza, so that's what I did, in hopes that the &lt;CODE&gt;sourcetype&lt;/CODE&gt; would be more closely associated with my custom field extractions.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 17:02:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251399#M75134</guid>
      <dc:creator>_dave_b</dc:creator>
      <dc:date>2016-02-01T17:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251400#M75135</link>
      <description>&lt;P&gt;What about when the sourcetype is named OS_LogType-TS1, or OS_LogType-TS2?  &lt;/P&gt;

&lt;P&gt;I changed the inputs.conf in my app's local directory to look like what you said it should look like, but I am still getting no results.  My sourcetypes keep changing with numbers appended to their names.&lt;/P&gt;

&lt;P&gt;I briefly had some success, but that was by changing the the props.conf file in the system directory.  But since I plan on exporting this, app I need to keep all of my custom conf files in local, so that change couldn't apply.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:37:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251400#M75135</guid>
      <dc:creator>_dave_b</dc:creator>
      <dc:date>2020-09-29T08:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251401#M75136</link>
      <description>&lt;P&gt;Did you restart the Splunk service after making those changes? &lt;/P&gt;

&lt;P&gt;Also, did you change the &lt;CODE&gt;inputs.conf&lt;/CODE&gt; on the indexer or the forwarder? &lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 20:52:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251401#M75136</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-02-01T20:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251402#M75137</link>
      <description>&lt;P&gt;I restarted the Splunk service, _bumped my version number, my indexer is the same machine my  forwarder.&lt;/P&gt;

&lt;P&gt;My &lt;CODE&gt;props.conf&lt;/CODE&gt; looks like &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::c:\\Program Files\\OS_Log\\*\\OS_LogType-TS*.txt]
[OS_LogType-TS]
EXTRACT-deviceIdAndCorrelationId = \[\S+\-(?P[0-9A-Ha-h]{8})\/(?P[\S]{32})\]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and my inputs.conf looks like &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;`[source::c:\\Program Files\\OS_Logs\\*\\BES12_BSCP-TS*.txt]
disabled = false
host = $decideOnStartup
sourcetype = BES12_BSCP-TS`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And I thought the deviceIdAndCorrelationId field should show up in the web interface under extracted fields for my app, but it isn't there.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 21:41:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251402#M75137</guid>
      <dc:creator>_dave_b</dc:creator>
      <dc:date>2016-02-01T21:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251403#M75138</link>
      <description>&lt;P&gt;Ah I found the problem! This stanza should be in your &lt;CODE&gt;props.conf&lt;/CODE&gt; not the &lt;CODE&gt;inputs.conf&lt;/CODE&gt;, this should have been obvious LOL, doh! &lt;/P&gt;

&lt;P&gt;Add this stanza to your &lt;CODE&gt;props.conf&lt;/CODE&gt; on the indexer and restart the Splunk service&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::c:\\Program Files\\OS_Logs\\*\\BES12_BSCP-TS*.txt]
 disabled = false
 host = $decideOnStartup
 sourcetype = BES12_BSCP-TS
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/Data/Bypassautomaticsourcetypeassignment"&gt;http://docs.splunk.com/Documentation/Splunk/6.1/Data/Bypassautomaticsourcetypeassignment&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 14:45:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251403#M75138</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-02-02T14:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251404#M75139</link>
      <description>&lt;P&gt;Did this solve your sourcetype issue? &lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 18:24:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251404#M75139</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-02-02T18:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251405#M75140</link>
      <description>&lt;P&gt;I'm still having the same problems.  Different sourcetypes are being included in the events, so that's at least some progress, but the fields still aren't being extracted.  &lt;/P&gt;

&lt;P&gt;I guess I will try using a different command, like report or transform...&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 19:03:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251405#M75140</guid>
      <dc:creator>_dave_b</dc:creator>
      <dc:date>2016-02-02T19:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251406#M75141</link>
      <description>&lt;P&gt;Your asking a different question.. Let's solve the static sourcetype issue first, then create a second question to solve your &lt;CODE&gt;transform.conf&lt;/CODE&gt; issue. This doc shows multiple ways of assigning a static sourcetype to your events &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/Data/Bypassautomaticsourcetypeassignment"&gt;http://docs.splunk.com/Documentation/Splunk/6.1/Data/Bypassautomaticsourcetypeassignment&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 19:18:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251406#M75141</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-02-02T19:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251407#M75142</link>
      <description>&lt;P&gt;You're asking a separate question.. Let's address the static sourcetype issue. If you included the sourcetype in your &lt;CODE&gt;props.conf&lt;/CODE&gt; and restarted the service, then any log files in &lt;CODE&gt;c:\\Program Files\\OS_Logs\\*\\BES12_BSCP-TS*.txt&lt;/CODE&gt; path will be assigned the sourcetype of &lt;CODE&gt;BES12_BSCP-TS&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Read this doc which explains overriding sourcetypes &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/Data/Bypassautomaticsourcetypeassignment"&gt;http://docs.splunk.com/Documentation/Splunk/6.1/Data/Bypassautomaticsourcetypeassignment&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 21:24:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251407#M75142</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-02-02T21:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Fields that were once extracted aren't being extracted anymore... why?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251408#M75143</link>
      <description>&lt;P&gt;Hey skoelpin, my sourcetype issue appears to have been solved!  I'm a little tenuous on putting this issue to rest, because I've tried several different methods, but the last thing I tried was setting it via Splunkweb.  I also changed the inputs and props.conf files in $SPLUNK_HOME/etc/system.  They didn't seem to take effect at first, but maybe there was a delayed reaction.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 21:49:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Fields-that-were-once-extracted-aren-t-being-extracted-anymore/m-p/251408#M75143</guid>
      <dc:creator>_dave_b</dc:creator>
      <dc:date>2016-02-02T21:49:52Z</dc:date>
    </item>
  </channel>
</rss>

