<?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: Why does Splunk overwrite the 'messages' field in scheduler.log events? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-overwrite-the-messages-field-in-scheduler-log/m-p/324790#M60426</link>
    <description>&lt;P&gt;Thank you I've opened up a ticket on this and have requested that a bug be raised.&lt;/P&gt;

&lt;P&gt;Cheers&lt;/P&gt;</description>
    <pubDate>Fri, 13 Apr 2018 22:56:14 GMT</pubDate>
    <dc:creator>pkeller</dc:creator>
    <dc:date>2018-04-13T22:56:14Z</dc:date>
    <item>
      <title>Why does Splunk overwrite the 'messages' field in scheduler.log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-overwrite-the-messages-field-in-scheduler-log/m-p/324788#M60424</link>
      <description>&lt;P&gt;It seems that scheduler.log events are all prepared for parsing &lt;/P&gt;

&lt;P&gt;04-09-2018 23:35:04.548 +0000 ERROR SavedSplunker - &lt;STRONG&gt;savedsearch_id&lt;/STRONG&gt;="nobody;my_lookups;Unix DHCP Refresh", &lt;STRONG&gt;message&lt;/STRONG&gt;="Error in 'lookup' command: Lookups: The lookup table 'dhcp_lookup' does not exist or is not available.". No actions executed&lt;/P&gt;

&lt;P&gt;Yet, etc/app/search/default/props.conf is insistent on overwriting that so that it extracts EVERYTHING after "SavedSplunker - " into the the 'message' field.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[scheduler]
EXTRACT-fields = (?i)^(?:[^ ]* ){2}(?:[+\-]\d+ )?(?P&amp;lt;log_level&amp;gt;[^ ]*)\s+(?P&amp;lt;component&amp;gt;[^ ]+) - (?P&amp;lt;message&amp;gt;.+)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So, now instead of message being: &lt;STRONG&gt;Error in 'lookup' command: Lookups: The lookup table 'dhcp_lookup' does not exist or is not available&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;it's expanded to:&lt;/P&gt;

&lt;P&gt;savedsearch_id="nobody;my_lookups;Unix DHCP Refresh", &lt;STRONG&gt;message&lt;/STRONG&gt;="Error in 'lookup' command: Lookups: The lookup table 'dhcp_lookup' does not exist or is not available.". No actions executed&lt;BR /&gt;
So the question is, why? And why choose the same fieldname that's already been used in the event itself?&lt;/P&gt;

&lt;P&gt;It seems that it would have been much more logical to have chosen a different fieldname than 'message'.&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:57:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-overwrite-the-messages-field-in-scheduler-log/m-p/324788#M60424</guid>
      <dc:creator>pkeller</dc:creator>
      <dc:date>2020-09-29T18:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Splunk overwrite the 'messages' field in scheduler.log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-overwrite-the-messages-field-in-scheduler-log/m-p/324789#M60425</link>
      <description>&lt;P&gt;I don't see that field extraction is version 6.2, so  not sure in what version it was introduced. It seems like field extraction for the sourcetype &lt;CODE&gt;splunkd&lt;/CODE&gt; has been copied there is and it's definitely wrong for sourcetype &lt;CODE&gt;scheduler&lt;/CODE&gt;. I would raise this a bug.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 21:58:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-overwrite-the-messages-field-in-scheduler-log/m-p/324789#M60425</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-04-12T21:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Splunk overwrite the 'messages' field in scheduler.log events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-overwrite-the-messages-field-in-scheduler-log/m-p/324790#M60426</link>
      <description>&lt;P&gt;Thank you I've opened up a ticket on this and have requested that a bug be raised.&lt;/P&gt;

&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 22:56:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-overwrite-the-messages-field-in-scheduler-log/m-p/324790#M60426</guid>
      <dc:creator>pkeller</dc:creator>
      <dc:date>2018-04-13T22:56:14Z</dc:date>
    </item>
  </channel>
</rss>

