<?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: Index time field extraction problem with space in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Index-time-field-extraction-problem-with-space/m-p/750616#M119256</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/258974"&gt;@sigma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first thing you could try is adding a $ to the end of the REGEX so that the match is forced to run to the end of the line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly, are there any other extractions that could be overlapping with this? Its just good to rule out the affects of other props.conf on your work!&lt;/P&gt;&lt;P&gt;Also, instead of DEST_KEY=_meta you could try WRITE_META=true like below, although I dont think this would affect your extraction here:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;REGEX = ^\w+\s+\d+\s+\d+:\d+:\d+\s+\d{1,3}(?:\.\d{1,3}){3}\s+\d+\s+\S+\s+(\S+)(?:\s+(iLO\d+))?\s+-\s+-\s+-\s+(.*)$
FORMAT = name::$1 version::$2 message::$3
WRITE_META = true&lt;/LI-CODE&gt;&lt;P&gt;Have you defined your fields.conf for the indexed fields?&lt;/P&gt;&lt;P&gt;Add an entry to fields.conf for the new indexed field:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# fields.conf
[&amp;lt;your_custom_field_name&amp;gt;]
INDEXED=true&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jul 2025 06:45:17 GMT</pubDate>
    <dc:creator>livehybrid</dc:creator>
    <dc:date>2025-07-29T06:45:17Z</dc:date>
    <item>
      <title>Index time field extraction problem with space</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-time-field-extraction-problem-with-space/m-p/750548#M119248</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to extract fields from a custom log format.&amp;nbsp;Here's my transforms.conf:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;REGEX = ^\w+\s+\d+\s+\d+:\d+:\d+\s+\d{1,3}(?:\.\d{1,3}){3}\s+\d+\s+\S+\s+(\S+)(?:\s+(iLO\d+))?\s+-\s+-\s+-\s+(.*)
FORMAT = name::$1 version::$2 message::$3
DEST_KEY = _meta&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;This regex is supposed to extract the following from a log like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jul 27 14:10:05 1.2.3.4 1 2025-07-27T14:09:05Z QQQ123-G12-W4-AB iLO6 - - - iLO time update failed. Unable to contact NTP server.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Expected extracted fields:&lt;/P&gt;&lt;P&gt;name = QQQ123-G12-W4-AB&lt;BR /&gt;version = iLO6&lt;BR /&gt;message = iLO time update failed. Unable to contact NTP server.&lt;/P&gt;&lt;P&gt;The regex works correctly when tested independently, and all three groups are matched. However, in Splunk, only the first two fields (name and version) are extracted correctly. The message field only includes the first word: iLO.&lt;/P&gt;&lt;P&gt;It seems Splunk is stopping at the first space for the message field, despite the regex using (.*) at the end. Any idea what could be causing this behavior?&lt;BR /&gt;Is there a setting or context where Splunk treats fields as single-token values by default?&lt;BR /&gt;Any advice would be appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2025 17:58:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-time-field-extraction-problem-with-space/m-p/750548#M119248</guid>
      <dc:creator>sigma</dc:creator>
      <dc:date>2025-07-28T17:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Index time field extraction problem with space</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-time-field-extraction-problem-with-space/m-p/750616#M119256</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/258974"&gt;@sigma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first thing you could try is adding a $ to the end of the REGEX so that the match is forced to run to the end of the line.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly, are there any other extractions that could be overlapping with this? Its just good to rule out the affects of other props.conf on your work!&lt;/P&gt;&lt;P&gt;Also, instead of DEST_KEY=_meta you could try WRITE_META=true like below, although I dont think this would affect your extraction here:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;REGEX = ^\w+\s+\d+\s+\d+:\d+:\d+\s+\d{1,3}(?:\.\d{1,3}){3}\s+\d+\s+\S+\s+(\S+)(?:\s+(iLO\d+))?\s+-\s+-\s+-\s+(.*)$
FORMAT = name::$1 version::$2 message::$3
WRITE_META = true&lt;/LI-CODE&gt;&lt;P&gt;Have you defined your fields.conf for the indexed fields?&lt;/P&gt;&lt;P&gt;Add an entry to fields.conf for the new indexed field:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# fields.conf
[&amp;lt;your_custom_field_name&amp;gt;]
INDEXED=true&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 06:45:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-time-field-extraction-problem-with-space/m-p/750616#M119256</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-07-29T06:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Index time field extraction problem with space</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-time-field-extraction-problem-with-space/m-p/750660#M119259</link>
      <description>&lt;P&gt;Why would you create indexed fields in the first place? You have a nice space-delimited entries, if you just want performance, use TERM() in your searches.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 16:53:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-time-field-extraction-problem-with-space/m-p/750660#M119259</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-07-29T16:53:14Z</dc:date>
    </item>
  </channel>
</rss>

