<?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 Can I write control code in TIME_FORMAT? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-I-write-control-code-in-TIME-FORMAT/m-p/420947#M170747</link>
    <description>&lt;P&gt;I want to get time in this log file.&lt;/P&gt;

&lt;P&gt;[sample log]&lt;BR /&gt;
1234 567 789^G20190613^G14:00^Gsample_log&lt;/P&gt;

&lt;P&gt;^G mean control code.&lt;/P&gt;

&lt;P&gt;TIME_PREFIX was done.&lt;BR /&gt;
However, TIME_FORMAT does not work.&lt;/P&gt;

&lt;P&gt;How should I write it?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:54:08 GMT</pubDate>
    <dc:creator>oda</dc:creator>
    <dc:date>2020-09-30T00:54:08Z</dc:date>
    <item>
      <title>Can I write control code in TIME_FORMAT?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-write-control-code-in-TIME-FORMAT/m-p/420947#M170747</link>
      <description>&lt;P&gt;I want to get time in this log file.&lt;/P&gt;

&lt;P&gt;[sample log]&lt;BR /&gt;
1234 567 789^G20190613^G14:00^Gsample_log&lt;/P&gt;

&lt;P&gt;^G mean control code.&lt;/P&gt;

&lt;P&gt;TIME_PREFIX was done.&lt;BR /&gt;
However, TIME_FORMAT does not work.&lt;/P&gt;

&lt;P&gt;How should I write it?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:54:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-write-control-code-in-TIME-FORMAT/m-p/420947#M170747</guid>
      <dc:creator>oda</dc:creator>
      <dc:date>2020-09-30T00:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can I write control code in TIME_FORMAT?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-I-write-control-code-in-TIME-FORMAT/m-p/420948#M170748</link>
      <description>&lt;P&gt;Hi @oda,&lt;/P&gt;

&lt;P&gt;Below configuration looks working.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %Y%m%d^G%H:%M
TIME_PREFIX = \^G
&lt;/CODE&gt;&lt;/PRE&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/7191i70C9CEE58CDF06A2/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;Hope this helps!!!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 13:44:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-I-write-control-code-in-TIME-FORMAT/m-p/420948#M170748</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2019-06-13T13:44:27Z</dc:date>
    </item>
  </channel>
</rss>

