<?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 How to prevent a space character from delimiting and truncating my filename field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-prevent-a-space-character-from-delimiting-and-truncating/m-p/184967#M53275</link>
    <description>&lt;P&gt;Hi folks,&lt;/P&gt;

&lt;P&gt;I have some new logs coming in, and I took a look at the fieldname that has a Windows filename in it, and it is being truncated after the space character (if there happens to be one).&lt;/P&gt;

&lt;P&gt;The events are coming in via DB Connect, multiline, and I can see the whole filename in the _raw event:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;event_guid=ABDC1234-EE33-43F3-ABCDEF
file_size=3432342
source_file=//home.local/home/caddev/usernameish/temp deck overview.pptx
target_path=
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So the event is indexing fine, but when I search, and Splunk does it's generic field extraction, the source_file field turns into:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source_file=//home.local/home/caddev/usernameish/temp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is there a quick way to fix this?&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2015 20:43:07 GMT</pubDate>
    <dc:creator>jravida</dc:creator>
    <dc:date>2015-08-24T20:43:07Z</dc:date>
    <item>
      <title>How to prevent a space character from delimiting and truncating my filename field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-prevent-a-space-character-from-delimiting-and-truncating/m-p/184967#M53275</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;

&lt;P&gt;I have some new logs coming in, and I took a look at the fieldname that has a Windows filename in it, and it is being truncated after the space character (if there happens to be one).&lt;/P&gt;

&lt;P&gt;The events are coming in via DB Connect, multiline, and I can see the whole filename in the _raw event:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;event_guid=ABDC1234-EE33-43F3-ABCDEF
file_size=3432342
source_file=//home.local/home/caddev/usernameish/temp deck overview.pptx
target_path=
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So the event is indexing fine, but when I search, and Splunk does it's generic field extraction, the source_file field turns into:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source_file=//home.local/home/caddev/usernameish/temp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is there a quick way to fix this?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2015 20:43:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-prevent-a-space-character-from-delimiting-and-truncating/m-p/184967#M53275</guid>
      <dc:creator>jravida</dc:creator>
      <dc:date>2015-08-24T20:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent a space character from delimiting and truncating my filename field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-prevent-a-space-character-from-delimiting-and-truncating/m-p/184968#M53276</link>
      <description>&lt;P&gt;you need to build the extraction for that. A quick way is to use the extract fields in the event actions.&lt;BR /&gt;
Check these splunk docs:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.5/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2015 20:56:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-prevent-a-space-character-from-delimiting-and-truncating/m-p/184968#M53276</guid>
      <dc:creator>diogofgm</dc:creator>
      <dc:date>2015-08-24T20:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent a space character from delimiting and truncating my filename field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-prevent-a-space-character-from-delimiting-and-truncating/m-p/184969#M53277</link>
      <description>&lt;P&gt;The extract fields utility is broken in my install. I'll have to investigate further, but for now it is erroring out.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2015 16:37:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-prevent-a-space-character-from-delimiting-and-truncating/m-p/184969#M53277</guid>
      <dc:creator>jravida</dc:creator>
      <dc:date>2015-08-25T16:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent a space character from delimiting and truncating my filename field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-prevent-a-space-character-from-delimiting-and-truncating/m-p/184970#M53278</link>
      <description>&lt;P&gt;The raw file is multiline events OR everything is coming in single line? Does the file name always contain extension of the file??&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2015 18:57:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-prevent-a-space-character-from-delimiting-and-truncating/m-p/184970#M53278</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-25T18:57:20Z</dc:date>
    </item>
  </channel>
</rss>

