<?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: Current time in SimData  event attributes in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Current-time-in-SimData-event-attributes/m-p/376951#M10004</link>
    <description>&lt;P&gt;This is a good point.  Seems like we need a time function that takes a format and returns a string representation of the current simulation time.  I'll try to get it into the next release.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jan 2019 19:42:27 GMT</pubDate>
    <dc:creator>dponcelow_splun</dc:creator>
    <dc:date>2019-01-08T19:42:27Z</dc:date>
    <item>
      <title>Current time in SimData  event attributes</title>
      <link>https://community.splunk.com/t5/Reporting/Current-time-in-SimData-event-attributes/m-p/376950#M10003</link>
      <description>&lt;P&gt;Using SimData to manufacture some artificial events into our Splunk world. However,   SimData not allowing or provided any API which allows to set System date ( current date) to any  attributes in event.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;entity User {
    init {
        id = "bot-id";
    }
    every(spinOffPriquency m) {
        var sessionID = Guid();
        emit LogUserRequest {
                               instanceId: id
                             observationTime: &amp;lt;Current Time&amp;gt;;
        }
    }
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Above example, I want to set observationTime to current system time. I don't see any method/api DLS (domain specific language) [page][1] &lt;/P&gt;

&lt;P&gt;Some extent Template allows to set current time using {{_time}} but, this wont hit to template as an  splunk event.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 11:34:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Current-time-in-SimData-event-attributes/m-p/376950#M10003</guid>
      <dc:creator>praneshd</dc:creator>
      <dc:date>2018-12-18T11:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Current time in SimData  event attributes</title>
      <link>https://community.splunk.com/t5/Reporting/Current-time-in-SimData-event-attributes/m-p/376951#M10004</link>
      <description>&lt;P&gt;This is a good point.  Seems like we need a time function that takes a format and returns a string representation of the current simulation time.  I'll try to get it into the next release.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 19:42:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Current-time-in-SimData-event-attributes/m-p/376951#M10004</guid>
      <dc:creator>dponcelow_splun</dc:creator>
      <dc:date>2019-01-08T19:42:27Z</dc:date>
    </item>
  </channel>
</rss>

