<?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: Somehow unable to fetch Time , Earlier it was working in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683210#M233331</link>
    <description>&lt;LI-CODE lang="markup"&gt;|rex field=_raw "eventTimestamp=(?&amp;lt;Time&amp;gt;\d{4}-\d{2}-\d{2}[T]\d{2}:\d{2})" &lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 04 Apr 2024 09:50:54 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2024-04-04T09:50:54Z</dc:date>
    <item>
      <title>Somehow unable to fetch Time , Earlier it was working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683134#M233316</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhaskar5428_0-1712206774586.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30186i5C9672726394BB24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bhaskar5428_0-1712206774586.png" alt="bhaskar5428_0-1712206774586.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;===========================================&lt;/P&gt;&lt;P&gt;Query used&amp;nbsp;&lt;BR /&gt;index=* namespace="dk1017-j" sourcetype="kube:container:kafka-clickhouse-snapshot-writer" message="*Snapshot event published*" AND message="*dbI-LDN*" AND message="*2024-04-03*" AND message="*"&lt;BR /&gt;|fields message&lt;BR /&gt;|rex field=_raw "\s+date=(?&amp;lt;BusDate&amp;gt;\d{4}-\d{2}-\d{2})"&lt;BR /&gt;|rex field=_raw "sourceSystem=(?&amp;lt;Source&amp;gt;[^,]*)"&lt;BR /&gt;|rex field=_raw "entityType=(?&amp;lt;Entity&amp;gt;\w+)"&lt;BR /&gt;&lt;STRONG&gt;|rex field=_raw "\"timestamp\":\"(?&amp;lt;Time&amp;gt;\d{4}-\d{2}-\d{2}[T]\d{2}:\d{2})"&amp;nbsp; -- this is not working&lt;/STRONG&gt;&lt;BR /&gt;|sort Time desc&lt;BR /&gt;|dedup Entity&lt;BR /&gt;|table Source, BusDate, Entity, Time&lt;/P&gt;&lt;P&gt;===========================================&lt;/P&gt;&lt;P&gt;This how raw data looks like&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhaskar5428_1-1712206962603.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30187i1CE5D461279C43E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bhaskar5428_1-1712206962603.png" alt="bhaskar5428_1-1712206962603.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;i&amp;nbsp; would like to extract only time , also suggest how can i covert to AM/PM&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly provide solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 05:06:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683134#M233316</guid>
      <dc:creator>bhaskar5428</dc:creator>
      <dc:date>2024-04-04T05:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow unable to fetch Time , Earlier it was working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683136#M233318</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244235"&gt;@bhaskar5428&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Your rex command seems trying to extract Time field from&amp;nbsp;@timestamp field. Can you please show the raw data by clicking "Show as raw text" selection under the raw event?&lt;/P&gt;&lt;P&gt;Splunk shows JSON events as formatted but rex works on real text itself. &amp;nbsp;We cannot compare your regex and raw data using this &amp;nbsp;screen capture.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 05:50:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683136#M233318</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2024-04-04T05:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow unable to fetch Time , Earlier it was working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683138#M233320</link>
      <description>&lt;P&gt;Unable to understand solution , could you please elaborate more&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see in raw data as below&lt;BR /&gt;&lt;SPAN&gt;eventTimestamp=2024-04-04T02:24:52.762129638)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i would like extract time from above like = 02:24&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 06:19:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683138#M233320</guid>
      <dc:creator>bhaskar5428</dc:creator>
      <dc:date>2024-04-04T06:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow unable to fetch Time , Earlier it was working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683141#M233321</link>
      <description>&lt;P&gt;Also please check below query which is working , however it does not giving me required output , i need only time. in Last column&lt;/P&gt;&lt;P&gt;===============================================================&lt;/P&gt;&lt;P&gt;index=* namespace="dk1017-j" sourcetype="kube:container:kafka-clickhouse-snapshot-writer" message="*Snapshot event published*" AND message="*dbI-LDN*" AND message="*2024-04-03*" AND message="*"&lt;BR /&gt;|fields message&lt;BR /&gt;|rex field=_raw "\s+date=(?&amp;lt;BusDate&amp;gt;\d{4}-\d{2}-\d{2})"&lt;BR /&gt;|rex field=_raw "sourceSystem=(?&amp;lt;Source&amp;gt;[^,]*)"&lt;BR /&gt;|rex field=_raw "entityType=(?&amp;lt;Entity&amp;gt;\w+)"&lt;BR /&gt;&lt;STRONG&gt;|rex field=_raw "eventTimestamp=(?&amp;lt;Time&amp;gt;\d{4}-\d{2}-\d{2}[T]\d{2}:\d{2})"&amp;nbsp; &amp;nbsp;--&amp;gt; &lt;FONT color="#FF0000"&gt;Need only time&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;|sort Time desc&lt;BR /&gt;|dedup Entity&lt;BR /&gt;|table Source, BusDate, Entity, Time&lt;/P&gt;&lt;P&gt;================================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please check screenshot for more clear understanding&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhaskar5428_0-1712212072604.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30188i2C16CB82F1BA27E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bhaskar5428_0-1712212072604.png" alt="bhaskar5428_0-1712212072604.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 06:27:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683141#M233321</guid>
      <dc:creator>bhaskar5428</dc:creator>
      <dc:date>2024-04-04T06:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow unable to fetch Time , Earlier it was working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683142#M233322</link>
      <description>&lt;P&gt;Your command says&lt;/P&gt;&lt;PRE&gt;"\"timestamp\":\"(?&amp;lt;Time&amp;gt;\d{4}-\d{2}-\d{2}[T]\d{2}:\d{2})"&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;So it will match only if you have a part of your event containing (of course the timestamp is just an example)&lt;/P&gt;&lt;PRE&gt;"timestamp":"2023-01-12T14:54&lt;/PRE&gt;&lt;P&gt;Since your event is formatted differently (most significantly, the "field" you're extracting from is not named "timestamp"), you need to adjust this regex.&lt;/P&gt;&lt;P&gt;Use &lt;A href="https://regex101.com" target="_blank"&gt;https://regex101.com&lt;/A&gt; for checking/verifying your ideas.&lt;/P&gt;&lt;P&gt;As a side note - manipulating structured data (in your case - json) with regexes might not be the best idea.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 06:28:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683142#M233322</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-04-04T06:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow unable to fetch Time , Earlier it was working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683148#M233324</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhaskar5428_0-1712212684375.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30190i2B51BB19F4C9FADF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bhaskar5428_0-1712212684375.png" alt="bhaskar5428_0-1712212684375.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;please check the sample raw data , where i need time only&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 06:38:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683148#M233324</guid>
      <dc:creator>bhaskar5428</dc:creator>
      <dc:date>2024-04-04T06:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow unable to fetch Time , Earlier it was working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683155#M233325</link>
      <description>&lt;P&gt;Yes, i released that its not "timestamp " and its changes to "&lt;SPAN&gt;eventTimestamp" in raw data&amp;nbsp;&lt;BR /&gt;However&amp;nbsp; modified&amp;nbsp;query but still its not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;======================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index=* namespace="dk1017-j" sourcetype="kube:container:kafka-clickhouse-snapshot-writer" message="*Snapshot event published*" AND message="*dbI-LDN*" AND message="*2024-04-03*" AND message="*"&lt;BR /&gt;|fields message&lt;BR /&gt;|rex field=_raw "\s+date=(?&amp;lt;BusDate&amp;gt;\d{4}-\d{2}-\d{2})"&lt;BR /&gt;|rex field=_raw "sourceSystem=(?&amp;lt;Source&amp;gt;[^,]*)"&lt;BR /&gt;|rex field=_raw "entityType=(?&amp;lt;Entity&amp;gt;\w+)"&lt;BR /&gt;&lt;STRONG&gt;|rex field=_raw &lt;FONT color="#0000FF"&gt;"\"eventTimestamp\"&lt;/FONT&gt;:\"(?&amp;lt;Time&amp;gt;\d{4}-\d{2}-\d{2}[T]\d{2}:\d{2})"&amp;nbsp; --&amp;gt; &lt;FONT color="#FF0000"&gt;Please suggest here&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;|sort Time desc&lt;BR /&gt;|dedup Entity&lt;BR /&gt;|table Source, BusDate, Entity, Time&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;======================================================================&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;attaching sample raw screenshot for your reference&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhaskar5428_0-1712213808126.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30193iF1B15D3FE0A4726B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bhaskar5428_0-1712213808126.png" alt="bhaskar5428_0-1712213808126.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 06:57:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683155#M233325</guid>
      <dc:creator>bhaskar5428</dc:creator>
      <dc:date>2024-04-04T06:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow unable to fetch Time , Earlier it was working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683191#M233326</link>
      <description>&lt;P&gt;Please try below,&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;|rex field=_raw "\"eventTimestamp\"=\"(?&amp;lt;Time&amp;gt;\d{4}-\d{2}-\d{2}[T]\d{2}:\d{2})" &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 07:37:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683191#M233326</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2024-04-04T07:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow unable to fetch Time , Earlier it was working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683203#M233328</link>
      <description>&lt;P&gt;Still not working i replaced semicolon with "=" sign&lt;BR /&gt;Please check screenshot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhaskar5428_0-1712220600122.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30227iCF28F880C419D9C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bhaskar5428_0-1712220600122.png" alt="bhaskar5428_0-1712220600122.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;=============================================================================&lt;/P&gt;&lt;P&gt;Sample raw data&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhaskar5428_1-1712220639007.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30228i5594287AA3542F37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bhaskar5428_1-1712220639007.png" alt="bhaskar5428_1-1712220639007.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 08:50:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683203#M233328</guid>
      <dc:creator>bhaskar5428</dc:creator>
      <dc:date>2024-04-04T08:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow unable to fetch Time , Earlier it was working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683207#M233330</link>
      <description>&lt;P&gt;Watch your raw event carefully. Compare it with the regex. The difference is kinda obvious.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 09:03:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683207#M233330</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-04-04T09:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow unable to fetch Time , Earlier it was working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683210#M233331</link>
      <description>&lt;LI-CODE lang="markup"&gt;|rex field=_raw "eventTimestamp=(?&amp;lt;Time&amp;gt;\d{4}-\d{2}-\d{2}[T]\d{2}:\d{2})" &lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 04 Apr 2024 09:50:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683210#M233331</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2024-04-04T09:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow unable to fetch Time , Earlier it was working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683215#M233332</link>
      <description>&lt;P&gt;&lt;STRONG&gt;My apologies&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;i was using "eventTimestamp" instead of&amp;nbsp;&amp;nbsp;"&lt;SPAN class=""&gt;@timestamp&lt;/SPAN&gt;" in my rex command&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i just realized&amp;nbsp;and its working now , However i do not need date in last column need only time.&lt;BR /&gt;Please help how to do that.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;please find below details&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;================================================================================&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;index=* namespace="dk1017-j" sourcetype="kube:container:kafka-clickhouse-snapshot-writer" message="*Snapshot event published*" AND message="*dbI-LDN*" AND message="*2024-04-03*" AND message="*"&lt;BR /&gt;|fields message&lt;BR /&gt;|rex field=_raw "\s+date=(?&amp;lt;BusDate&amp;gt;\d{4}-\d{2}-\d{2})"&lt;BR /&gt;|rex field=_raw "sourceSystem=(?&amp;lt;Source&amp;gt;[^,]*)"&lt;BR /&gt;|rex field=_raw "entityType=(?&amp;lt;Entity&amp;gt;\w+)"&lt;BR /&gt;|rex field=_raw "\"&lt;FONT color="#0000FF"&gt;@timestamp&lt;/FONT&gt;\":\"(?&amp;lt;Time&amp;gt;\d{4}-\d{2}-\d{2}[T]\d{2}:\d{2})"&amp;nbsp; --&amp;gt; &lt;FONT color="#FF0000"&gt;Please help Here&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;|sort Time desc&lt;BR /&gt;|dedup Entity&lt;BR /&gt;|table Source, BusDate, Entity, Time&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;================================================================================&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screenshot&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhaskar5428_0-1712225910578.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30230i6DC9BEF0359D98B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bhaskar5428_0-1712225910578.png" alt="bhaskar5428_0-1712225910578.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;raw data&lt;/P&gt;&lt;DIV class=""&gt;{"&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;@timestamp&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;2024-04-04T&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;02:25&lt;/STRONG&gt;&lt;/FONT&gt;:59.366Z&lt;/SPAN&gt;","&lt;SPAN class=""&gt;level&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;INFO&lt;/SPAN&gt;","&lt;SPAN class=""&gt;message&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;Snapshot&lt;/SPAN&gt; &lt;SPAN class=""&gt;event&lt;/SPAN&gt; &lt;SPAN class=""&gt;published:&lt;/SPAN&gt; &lt;SPAN class=""&gt;SnapshotEvent&lt;/SPAN&gt;(&lt;SPAN class=""&gt;version=SnapshotVersion&lt;/SPAN&gt;(&lt;SPAN class=""&gt;sourceSystem=dbI-LDN&lt;/SPAN&gt;, &lt;SPAN class=""&gt;entityType=ACCOUNT&lt;/SPAN&gt;, &lt;SPAN class=""&gt;subType=&lt;/SPAN&gt;, &lt;SPAN class=""&gt;date=2024-04-03&lt;/SPAN&gt;, &lt;SPAN class=""&gt;version=1&lt;/SPAN&gt;, &lt;SPAN class=""&gt;snapshotSize=326718&lt;/SPAN&gt;, &lt;SPAN class=""&gt;uuid=8739e273-cedc-482b-b696-48357efc8704&lt;/SPAN&gt;, &lt;SPAN class=""&gt;eventTimestamp=2024-04-04T02:24:52.762129638&lt;/SPAN&gt;), &lt;SPAN class=""&gt;status=CREATED&lt;/SPAN&gt;)","&lt;SPAN class=""&gt;thread&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;snapshot-checker-3&lt;/SPAN&gt;","&lt;SPAN class=""&gt;loggerName&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;com.db.sdda.dc.kafka.snapshot.writer.InternalEventSender&lt;/SPAN&gt;"}&lt;/DIV&gt;&lt;P&gt;&lt;A class="" href="https://scribe.prd.de.intranet.db.com/sh/en-US/app/db_scribe_search/search?q=search%20index%3D*%20namespace%3D%22dk1017-j%22%20sourcetype%3D%22kube%3Acontainer%3Akafka-clickhouse-snapshot-writer%22%20message%3D%22*Snapshot%20event%20published*%22%20AND%20%20message%3D%22*dbI-LDN*%22%20AND%20message%3D%22*2024-04-03*%22%20AND%20message%3D%22*%22&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;earliest=0&amp;amp;latest=&amp;amp;display.page.search.tab=events&amp;amp;display.general.type=events&amp;amp;sid=1712211473.6335533_4AF7243B-4198-411B-94B8-7F2D8905C8A6#" target="_blank" rel="noopener"&gt;Show syntax highlighted&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 10:20:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683215#M233332</guid>
      <dc:creator>bhaskar5428</dc:creator>
      <dc:date>2024-04-04T10:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow unable to fetch Time , Earlier it was working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683217#M233333</link>
      <description>&lt;P&gt;&lt;STRONG&gt;My apologies&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;i was using "eventTimestamp" instead of&amp;nbsp;&amp;nbsp;"&lt;SPAN class=""&gt;@timestamp&lt;/SPAN&gt;" in my rex command&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i just realized&amp;nbsp;and its working now , However i do not need date in last column need only time.&lt;BR /&gt;Please help how to do that.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;please find below details&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;================================================================================&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;index=* namespace="dk1017-j" sourcetype="kube:container:kafka-clickhouse-snapshot-writer" message="*Snapshot event published*" AND message="*dbI-LDN*" AND message="*2024-04-03*" AND message="*"&lt;BR /&gt;|fields message&lt;BR /&gt;|rex field=_raw "\s+date=(?&amp;lt;BusDate&amp;gt;\d{4}-\d{2}-\d{2})"&lt;BR /&gt;|rex field=_raw "sourceSystem=(?&amp;lt;Source&amp;gt;[^,]*)"&lt;BR /&gt;|rex field=_raw "entityType=(?&amp;lt;Entity&amp;gt;\w+)"&lt;BR /&gt;|rex field=_raw "\"&lt;FONT color="#0000FF"&gt;@timestamp&lt;/FONT&gt;\":\"(?&amp;lt;Time&amp;gt;\d{4}-\d{2}-\d{2}[T]\d{2}:\d{2})"&amp;nbsp; --&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;Please help Here&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;|sort Time desc&lt;BR /&gt;|dedup Entity&lt;BR /&gt;|table Source, BusDate, Entity, Time&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;================================================================================&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Screenshot&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bhaskar5428_0-1712226050758.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30231i0515B319E1B0306B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bhaskar5428_0-1712226050758.png" alt="bhaskar5428_0-1712226050758.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;raw data&lt;/P&gt;&lt;DIV class=""&gt;{"&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;@timestamp&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;2024-04-04T&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;02:25&lt;/STRONG&gt;&lt;/FONT&gt;:59.366Z&lt;/SPAN&gt;","&lt;SPAN class=""&gt;level&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;INFO&lt;/SPAN&gt;","&lt;SPAN class=""&gt;message&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;Snapshot&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;event&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;published:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;SnapshotEvent&lt;/SPAN&gt;(&lt;SPAN class=""&gt;version=SnapshotVersion&lt;/SPAN&gt;(&lt;SPAN class=""&gt;sourceSystem=dbI-LDN&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;entityType=ACCOUNT&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;subType=&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;date=2024-04-03&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;version=1&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;snapshotSize=326718&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;uuid=8739e273-cedc-482b-b696-48357efc8704&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;eventTimestamp=2024-04-04T02:24:52.762129638&lt;/SPAN&gt;),&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;status=CREATED&lt;/SPAN&gt;)","&lt;SPAN class=""&gt;thread&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;snapshot-checker-3&lt;/SPAN&gt;","&lt;SPAN class=""&gt;loggerName&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;com.db.sdda.dc.kafka.snapshot.writer.InternalEventSender&lt;/SPAN&gt;"}&lt;/DIV&gt;&lt;P&gt;&lt;A class="" href="https://scribe.prd.de.intranet.db.com/sh/en-US/app/db_scribe_search/search?q=search%20index%3D*%20namespace%3D%22dk1017-j%22%20sourcetype%3D%22kube%3Acontainer%3Akafka-clickhouse-snapshot-writer%22%20message%3D%22*Snapshot%20event%20published*%22%20AND%20%20message%3D%22*dbI-LDN*%22%20AND%20message%3D%22*2024-04-03*%22%20AND%20message%3D%22*%22&amp;amp;display.page.search.mode=smart&amp;amp;dispatch.sample_ratio=1&amp;amp;earliest=0&amp;amp;latest=&amp;amp;display.page.search.tab=events&amp;amp;display.general.type=events&amp;amp;sid=1712211473.6335533_4AF7243B-4198-411B-94B8-7F2D8905C8A6#" target="_blank" rel="noopener nofollow noreferrer"&gt;Show syntax highlighted&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 10:20:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683217#M233333</guid>
      <dc:creator>bhaskar5428</dc:creator>
      <dc:date>2024-04-04T10:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow unable to fetch Time , Earlier it was working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683253#M233338</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244235"&gt;@bhaskar5428&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You need to change the regex capture group to cover only time, like below;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=_raw "\"@timestamp\":\"\d{4}-\d{2}-\d{2}[T](?&amp;lt;Time&amp;gt;\d{2}:\d{2})"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 13:27:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Somehow-unable-to-fetch-Time-Earlier-it-was-working/m-p/683253#M233338</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2024-04-04T13:27:46Z</dc:date>
    </item>
  </channel>
</rss>

