<?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: Remove additional timestamp from the logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Remove-additional-timestamp-from-the-logs/m-p/506913#M141794</link>
    <description>&lt;P&gt;Depending on how you're getting the data from S3 to Splunk there may be other, better answers, but using SEDCMD should work.&amp;nbsp; Add this line to the props.conf file for the sourcetype.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SEDCMD-unjson = s/\{"message":"(.*)"}/\1/g&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2020 17:13:06 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-07-01T17:13:06Z</dc:date>
    <item>
      <title>Remove additional timestamp from the logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-additional-timestamp-from-the-logs/m-p/506895#M141790</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;i have onboarded linux logs from S3--&amp;gt; Splunk . I found additional timestamp is getting attached to the events. Can you please help me in removing the additional timestamp. Below is the expected log format.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Before,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2020-07-01T10:59:58Z messages {"message":"Jun 1 10:59:58 stg-coinbrh: [get_meta] Trying to get &lt;A href="http://10.4.3.1/latest/meta-data/network/interfaces/macs/06:c3:45:12:56:12/subnet-ipv4-cidr-block" target="_blank" rel="noopener"&gt;http://10.4.3.1/latest/meta-data/network/interfaces/macs/06:c3:45:12:56:12/subnet-ipv4-cidr-block&lt;/A&gt;"}&lt;BR /&gt;2020-07-01T10:59:58Z messages {"message":"Jun 4 10:59:58 stg-mbcoln: [rewrite_aliases] Rewriting aliases of eth0"}&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;After,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Jun 1 10:59:58 stg-coinbrh: [get_meta] Trying to get &lt;A href="http://10.4.3.1/latest/meta-data/network/interfaces/macs/06:c3:45:12:56:12/subnet-ipv4-cidr-block" target="_blank" rel="noopener"&gt;http://10.4.3.1/latest/meta-data/network/interfaces/macs/06:c3:45:12:56:12/subnet-ipv4-cidr-block&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Jun 4 10:59:58 stg-mbcoln: [rewrite_aliases] Rewriting aliases of eth0&lt;/P&gt;&lt;P&gt;Please help me in defining exact props and transforms settings to achieve this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 16:04:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-additional-timestamp-from-the-logs/m-p/506895#M141790</guid>
      <dc:creator>zaan</dc:creator>
      <dc:date>2020-07-01T16:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Remove additional timestamp from the logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Remove-additional-timestamp-from-the-logs/m-p/506913#M141794</link>
      <description>&lt;P&gt;Depending on how you're getting the data from S3 to Splunk there may be other, better answers, but using SEDCMD should work.&amp;nbsp; Add this line to the props.conf file for the sourcetype.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SEDCMD-unjson = s/\{"message":"(.*)"}/\1/g&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 17:13:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Remove-additional-timestamp-from-the-logs/m-p/506913#M141794</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-01T17:13:06Z</dc:date>
    </item>
  </channel>
</rss>

