<?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 an extracted timestamp field show as _raw? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270191#M81316</link>
    <description>&lt;P&gt;Thanks for the post. I just added "KV_MODE = none" to props.conf and nothing has changed. I even restarted splunk just in case -- though I shouldn't have had to -- and nothing... Any other thoughts?&lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2017 18:17:14 GMT</pubDate>
    <dc:creator>mvanberg</dc:creator>
    <dc:date>2017-02-02T18:17:14Z</dc:date>
    <item>
      <title>Why does an extracted timestamp field show as _raw?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270185#M81310</link>
      <description>&lt;P&gt;I've setup a field extractions with K=V; format and every field is working correctly except for the first field, "timestamp"&lt;/P&gt;

&lt;P&gt;Here's the format I'm starting with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;timestamp=1485969522;addr=3232236035;as=192;volume=356;account=1-53abcef
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[kv_extraction]
DELIMS = ";", "="
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The result:&lt;/P&gt;

&lt;P&gt;timestamp:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; timestamp=1485969522;addr=3232236035;as=192;volume=356;account=1-53abcef
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(in other words the timestamp field is being extracted as the entire event or _raw)&lt;BR /&gt;
*Note _time is showing up correctly&lt;/P&gt;

&lt;P&gt;addr:&lt;BR /&gt;
   3232236035&lt;BR /&gt;
(working correctly and shows only the extracted value for all the remaining fields)&lt;/P&gt;

&lt;P&gt;Am I doing something wrong here?&lt;/P&gt;

&lt;P&gt;P.S.&lt;/P&gt;

&lt;P&gt;I tried adding this to props.conf and it did nothing:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX= timestamp=
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Jan 2017 22:03:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270185#M81310</guid>
      <dc:creator>mvanberg</dc:creator>
      <dc:date>2017-01-30T22:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why does an extracted timestamp field show as _raw?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270186#M81311</link>
      <description>&lt;P&gt;This question would be clearer if you showed some actual dummy data rather than the word "value".&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 03:52:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270186#M81311</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-02-01T03:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why does an extracted timestamp field show as _raw?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270187#M81312</link>
      <description>&lt;P&gt;I added some real data, maybe that will help.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 17:24:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270187#M81312</guid>
      <dc:creator>mvanberg</dc:creator>
      <dc:date>2017-02-01T17:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why does an extracted timestamp field show as _raw?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270188#M81313</link>
      <description>&lt;P&gt;You've added a transform.conf entry. Have you related it to your sourcetype in your props.conf? FYI, the attribute TIME_PREFIX is used during event processing (timestamp extraction before indexing) and sets the keyword from where the timestamp is available in _raw and which should be used as _time. It's doesn't help with field extraction.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 17:27:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270188#M81313</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-01T17:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why does an extracted timestamp field show as _raw?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270189#M81314</link>
      <description>&lt;P&gt;I do have the entry added in pops.conf. It's good to know that TIME_PREFIX is done before indexing, because this is all stuff I'm adding to the search heads. It still doesn't explain why the other fields are extracting just fine and this one is ignoring the the delimiters. My guess is that it's because you cannot extract data with the key of "timestamp..." but I have not confirmed this. That, or maybe the first field of an event gets treated differently...&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 18:01:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270189#M81314</guid>
      <dc:creator>mvanberg</dc:creator>
      <dc:date>2017-02-01T18:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why does an extracted timestamp field show as _raw?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270190#M81315</link>
      <description>&lt;P&gt;Can you try with keeping KV_MODE=none in your props.conf on Search Head? This link explains the order of search time field extractions.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Knowledge/Searchtimeoperationssequence"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Knowledge/Searchtimeoperationssequence&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;So, your transform.conf entry (REPORT) gets executed first and creates all fields correctly including timestamp. Then the fields are extracted based on KV_MODE (default to auto), in which timestamp is extracted again and overwrites the current value. It captures whole values as there are no spaces.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 18:53:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270190#M81315</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-01T18:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why does an extracted timestamp field show as _raw?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270191#M81316</link>
      <description>&lt;P&gt;Thanks for the post. I just added "KV_MODE = none" to props.conf and nothing has changed. I even restarted splunk just in case -- though I shouldn't have had to -- and nothing... Any other thoughts?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 18:17:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270191#M81316</guid>
      <dc:creator>mvanberg</dc:creator>
      <dc:date>2017-02-02T18:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why does an extracted timestamp field show as _raw?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270192#M81317</link>
      <description>&lt;P&gt;I thought that would be it. Just to confirm, we set KV_MODE = none on search head, under the same sourcetype stanza. Changing the configuration files from the file system would require a restart.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 18:49:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-an-extracted-timestamp-field-show-as-raw/m-p/270192#M81317</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-02-02T18:49:24Z</dc:date>
    </item>
  </channel>
</rss>

