<?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: How to combine multiple time fields in order to create a full date for an event occurrence in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-time-fields-in-order-to-create-a-full/m-p/501660#M195122</link>
    <description>&lt;P&gt;HI asewell97,&lt;BR /&gt;
are youspeking of search time or index time? in other words: did you already indexed data and you want to display date field or you want to index events setting the correct timestamp using the three fields?&lt;/P&gt;

&lt;P&gt;If you're working at search time, it's easy, use eval command in your searches:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval my_date=field1." ".field2.":".field3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If instead you are speaking of index time, please share an example of your logs to create the correct TIME_FORMAT option.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2019 14:37:12 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2019-10-14T14:37:12Z</dc:date>
    <item>
      <title>How to combine multiple time fields in order to create a full date for an event occurrence</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-time-fields-in-order-to-create-a-full/m-p/501658#M195120</link>
      <description>&lt;P&gt;I currently have 3 different fields that contain parts of a date that must be put together to give a full time. I have day, hour and minute fields that are currently separate and need to be combined as I want to display the time an event occurred in a table. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;1. Field 1 = day&lt;BR /&gt;
2. Field 2 = hour&lt;BR /&gt;
3. Field 3 = minute&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I need it to be:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;1. Field 1 = day:hour:minute&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;If someone could help with this it would be much appreciated. &lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 13:32:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-time-fields-in-order-to-create-a-full/m-p/501658#M195120</guid>
      <dc:creator>asewell97</dc:creator>
      <dc:date>2019-10-14T13:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple time fields in order to create a full date for an event occurrence</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-time-fields-in-order-to-create-a-full/m-p/501659#M195121</link>
      <description>&lt;P&gt;Use concatenation.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval field=field1.":".field2.":"field3
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Oct 2019 14:36:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-time-fields-in-order-to-create-a-full/m-p/501659#M195121</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-10-14T14:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple time fields in order to create a full date for an event occurrence</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-time-fields-in-order-to-create-a-full/m-p/501660#M195122</link>
      <description>&lt;P&gt;HI asewell97,&lt;BR /&gt;
are youspeking of search time or index time? in other words: did you already indexed data and you want to display date field or you want to index events setting the correct timestamp using the three fields?&lt;/P&gt;

&lt;P&gt;If you're working at search time, it's easy, use eval command in your searches:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval my_date=field1." ".field2.":".field3
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If instead you are speaking of index time, please share an example of your logs to create the correct TIME_FORMAT option.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 14:37:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-time-fields-in-order-to-create-a-full/m-p/501660#M195122</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-10-14T14:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine multiple time fields in order to create a full date for an event occurrence</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-time-fields-in-order-to-create-a-full/m-p/501661#M195123</link>
      <description>&lt;P&gt;Hi, the eval command was what I was looking for. I've got it all working now so thanks for the help.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 15:12:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-combine-multiple-time-fields-in-order-to-create-a-full/m-p/501661#M195123</guid>
      <dc:creator>asewell97</dc:creator>
      <dc:date>2019-10-14T15:12:44Z</dc:date>
    </item>
  </channel>
</rss>

