<?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: Field showing an additional and not visible value --&amp;quot;none&amp;quot;-- under timestamp field in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337273#M62290</link>
    <description>&lt;P&gt;Hi mgarciar,&lt;BR /&gt;
I think that you used "timestamp" field as timestamp in log ingestion&lt;BR /&gt;
so try to use  &lt;CODE&gt;index=main source=mysource | head 1 | table _time&lt;/CODE&gt;&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Sat, 16 Sep 2017 06:54:20 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2017-09-16T06:54:20Z</dc:date>
    <item>
      <title>Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337269#M62286</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;

&lt;P&gt;I have a problem with a field call "timestamp". &lt;/P&gt;

&lt;P&gt;I have created a custom python script and added as "Data input". The script is executed every 5 minutes and makes an API call, parse the json response and send it to the indexer.&lt;/P&gt;

&lt;P&gt;This is a sample raw event:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{"rev_pingdeath_count": 0, "fwd_tiny_count": 0, "dst_address": "X.X.X.X", "timestamp": "2017-09-15T16:05:00.000Z", "start_timestamp": "1505491512000000", "fwd_cwr_count": 0, "user_src_location": null, "rev_synrst_count": 0, "fwd_xmas_count": 0, "server_app_latency_usec": 0, "rev_rst_count": 0, "dst_is_internal": "true", "user_dst_businessUnit": null, "fwd_bytes": 1022, "fwd_synfin_count": 0, "rev_ack_count": 8, "user_dst_pod": null, "total_perceived_latency_usec": 0, "bandwidth_bytes_per_second": "0", "user_src_department": null, "user_src_businessUnit": null, "rev_psh_count": 4, "dst_hostname": "appServerXXXX", "user_src_lifecycle": null, "rev_pkts": 8, "fwd_nc_count": 0, "src_address": "Y.Y.Y.Y", "rev_finnoack_count": 0, "user_src_pod": null, "dst_enforcement_epg_name": [], "rev_nc_count": 0, "rev_cwr_count": 0, "user_src_datacenter": null, "fwd_synrst_count": 0, "fwd_ack_count": 7, "srtt_available": "SRTT_NONE", "rev_allzero_count": 0}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;There is only one timestamp field on each event, as far I have been able to see, but when I do a ** index=main source=mysource | head 1 | table timestamp** I get the following data:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3500i39CB7864BA48C7F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Where is the &lt;STRONG&gt;none&lt;/STRONG&gt; value coming from ??. This &lt;STRONG&gt;none&lt;/STRONG&gt; is present in every single event. &lt;/P&gt;

&lt;P&gt;Splunk version 6.5.2, single instance. &lt;/P&gt;

&lt;P&gt;Thanks and regards,&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 20:18:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337269#M62286</guid>
      <dc:creator>mgarciar</dc:creator>
      <dc:date>2017-09-15T20:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337270#M62287</link>
      <description>&lt;P&gt;Cannot reproduce, please share your props.conf for this sourcetype&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 20:29:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337270#M62287</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2017-09-15T20:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337271#M62288</link>
      <description>&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;BR /&gt;
[mysourcetype]&lt;BR /&gt;
DATETIME_CONFIG = CURRENT&lt;BR /&gt;
MAX_EVENTS = 1000&lt;BR /&gt;
TRUNCATE = 100000&lt;/P&gt;

&lt;P&gt;But I did find something interesting ... I did a export raw events and this is what I got:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;_raw field contains the event as in the original message&lt;/LI&gt;
&lt;LI&gt;_time fields shows fine&lt;/LI&gt;
&lt;LI&gt;timestamp field shows none&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:46:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337271#M62288</guid>
      <dc:creator>mgarciar</dc:creator>
      <dc:date>2020-09-29T15:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337272#M62289</link>
      <description>&lt;P&gt;Sorry actually shows both values: none and the actual field value&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 21:14:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337272#M62289</guid>
      <dc:creator>mgarciar</dc:creator>
      <dc:date>2017-09-15T21:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337273#M62290</link>
      <description>&lt;P&gt;Hi mgarciar,&lt;BR /&gt;
I think that you used "timestamp" field as timestamp in log ingestion&lt;BR /&gt;
so try to use  &lt;CODE&gt;index=main source=mysource | head 1 | table _time&lt;/CODE&gt;&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 16 Sep 2017 06:54:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337273#M62290</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-16T06:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337274#M62291</link>
      <description>&lt;P&gt;Splunk is using the current time to set the _time field value and not timestamp.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Sep 2017 12:50:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337274#M62291</guid>
      <dc:creator>mgarciar</dc:creator>
      <dc:date>2017-09-16T12:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337275#M62292</link>
      <description>&lt;P&gt;It should be better to configure your input to use timestamp field as timestamp,&lt;BR /&gt;
Anyway try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main source=mysource | head 1 | rename timestamp AS _time | table _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 16 Sep 2017 16:18:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337275#M62292</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-16T16:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337276#M62293</link>
      <description>&lt;P&gt;just tried to use your sample in a text input, it worked fine, below is how the event looks like when i ingest it through a text file...see and compare against your event&lt;BR /&gt;
{   [-] &lt;BR /&gt;
       bandwidth_bytes_per_second: 0&lt;BR /&gt;&lt;BR /&gt;
       dst_address: X.X.X.X&lt;BR /&gt;&lt;BR /&gt;
       dst_enforcement_epg_name: [  [+] &lt;BR /&gt;
       ]&lt;BR /&gt;&lt;BR /&gt;
       dst_hostname: appServerXXXX&lt;BR /&gt;&lt;BR /&gt;
       dst_is_internal: true&lt;BR /&gt;&lt;BR /&gt;
       fwd_ack_count: 7&lt;BR /&gt;&lt;BR /&gt;
       fwd_bytes: 1022&lt;BR /&gt;&lt;BR /&gt;
       fwd_cwr_count: 0&lt;BR /&gt;&lt;BR /&gt;
       fwd_nc_count: 0&lt;BR /&gt;&lt;BR /&gt;
       fwd_synfin_count: 0&lt;BR /&gt;&lt;BR /&gt;
       fwd_synrst_count: 0&lt;BR /&gt;&lt;BR /&gt;
       fwd_tiny_count: 0&lt;BR /&gt;&lt;BR /&gt;
       fwd_xmas_count: 0&lt;BR /&gt;&lt;BR /&gt;
       rev_ack_count: 8&lt;BR /&gt;&lt;BR /&gt;
       rev_allzero_count: 0&lt;BR /&gt;&lt;BR /&gt;
       rev_cwr_count: 0&lt;BR /&gt;&lt;BR /&gt;
       rev_finnoack_count: 0&lt;BR /&gt;&lt;BR /&gt;
       rev_nc_count: 0&lt;BR /&gt;&lt;BR /&gt;
       rev_pingdeath_count: 0&lt;BR /&gt;&lt;BR /&gt;
       rev_pkts: 8&lt;BR /&gt;&lt;BR /&gt;
       rev_psh_count: 4&lt;BR /&gt;&lt;BR /&gt;
       rev_rst_count: 0&lt;BR /&gt;&lt;BR /&gt;
       rev_synrst_count: 0&lt;BR /&gt;&lt;BR /&gt;
       server_app_latency_usec: 0&lt;BR /&gt;&lt;BR /&gt;
       src_address: Y.Y.Y.Y&lt;BR /&gt;&lt;BR /&gt;
       srtt_available: SRTT_NONE&lt;BR /&gt;&lt;BR /&gt;
       start_timestamp: 1505491512000000&lt;BR /&gt;&lt;BR /&gt;
       timestamp: 2017-09-15T16:05:00.000Z&lt;BR /&gt;&lt;BR /&gt;
       total_perceived_latency_usec: 0&lt;BR /&gt;&lt;BR /&gt;
       user_dst_businessUnit: null&lt;BR /&gt;&lt;BR /&gt;
       user_dst_pod: null&lt;BR /&gt;&lt;BR /&gt;
       user_src_businessUnit: null&lt;BR /&gt;&lt;BR /&gt;
       user_src_datacenter: null&lt;BR /&gt;&lt;BR /&gt;
       user_src_department: null&lt;BR /&gt;&lt;BR /&gt;
       user_src_lifecycle: null&lt;BR /&gt;&lt;BR /&gt;
       user_src_location: null&lt;BR /&gt;&lt;BR /&gt;
       user_src_pod: null&lt;BR /&gt;&lt;BR /&gt;
}   &lt;/P&gt;

&lt;P&gt;And when i ran the query  | table timestamp,_time , this is what i get:&lt;BR /&gt;
timestamp                      _time&lt;BR /&gt;
2017-09-15T16:05:00.000Z  2017-09-15 21:35:00  &lt;/P&gt;

&lt;P&gt;so mgarciar  _timee is not really the current time , is it?&lt;BR /&gt;
I think if you do the event compare between my text ingestion and your event you will get some clues&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:46:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337276#M62293</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2020-09-29T15:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337277#M62294</link>
      <description>&lt;P&gt;Hi mgarciar,,&lt;BR /&gt;
could you explain:&lt;BR /&gt;
you ingested this event from a text file in index=main using as TimeStamp the current time;&lt;BR /&gt;
you extracted the "timestamp" field using a regex (like this &lt;CODE&gt;timestamp: (?&amp;lt;timestamp&amp;gt;.*)\s+total&lt;/CODE&gt; );&lt;BR /&gt;
after you run my search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main source=mysource | head 1 | rename timestamp AS _time | table timestamp _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and you have different values between timestamp and _time?&lt;/P&gt;

&lt;P&gt;I performed the same test and I had the same values, could you repeat this full test?&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 06:54:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337277#M62294</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-18T06:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337278#M62295</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
I'm ingesting events from a Python script that is calling an API. This script writes to splunk the events as shown on my original post. When I do a search, like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main source=mysource | head 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I can see Splunk returns a single event, everything looking good. But when add:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| table timestamp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where timestamp is a field from the json formatted event it returns two values, none and the actual date time value (as shown on the original picture). The none is not visible anywhere. &lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 13:48:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337278#M62295</guid>
      <dc:creator>mgarciar</dc:creator>
      <dc:date>2017-09-18T13:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337279#M62296</link>
      <description>&lt;P&gt;Hi mgarciar,&lt;BR /&gt;
in your python script try to use this search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main source=mysource 
| head 1 
| rex "timestamp: (?&amp;lt;timestamp&amp;gt;.*)\s+total" 
| table timestamp
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 13:53:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337279#M62296</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-18T13:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337280#M62297</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;BR /&gt;
Thank you for your suggestions. That will probably allow me to extract the correct value at search time. &lt;BR /&gt;
But the problem persists right?, the question is more: why I'm getting that none value inserted on the field? Is it that timestamp is a reserved field maybe?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 14:03:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337280#M62297</guid>
      <dc:creator>mgarciar</dc:creator>
      <dc:date>2017-09-18T14:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337281#M62298</link>
      <description>&lt;P&gt;Hi mgarciar,&lt;BR /&gt;
probably you didn't correctly extracted the timestamp field, try to re configure field extraction enabled for the role that you use in python script and probably you'll not have the problem.&lt;/P&gt;

&lt;P&gt;if you're satisfied by this answer, please accept or upvote it.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 14:08:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337281#M62298</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-18T14:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337282#M62299</link>
      <description>&lt;P&gt;There is not field extraction at all. The value is "as is". That's the value coming from the Api (with the exception of the none). The _time field is just set to be the system date/time (for now). &lt;BR /&gt;
There is not field extraction, props, transform, anything related with the "timestamp" field. &lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 14:14:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337282#M62299</guid>
      <dc:creator>mgarciar</dc:creator>
      <dc:date>2017-09-18T14:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337283#M62300</link>
      <description>&lt;P&gt;try to add a field extraction for timestamp field using my regex, in this way you should use this field also in script.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 14:19:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337283#M62300</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-18T14:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Field showing an additional and not visible value --"none"-- under timestamp field</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337284#M62301</link>
      <description>&lt;P&gt;If this answer satisfies your question, please accept or upvote it.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 11:18:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Field-showing-an-additional-and-not-visible-value-quot-none-quot/m-p/337284#M62301</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-09-20T11:18:23Z</dc:date>
    </item>
  </channel>
</rss>

