<?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: I want to extract the data between two time stamp fields using _time filed in splunk logs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-data-between-two-time-stamp-fields-using-time/m-p/588021#M204791</link>
    <description>&lt;P&gt;My use case here is to extract data from last successful run based on the filed _time in the splunk logs&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2022 12:46:31 GMT</pubDate>
    <dc:creator>satya671</dc:creator>
    <dc:date>2022-03-08T12:46:31Z</dc:date>
    <item>
      <title>How to extract the data between two time stamp fields using _time filed in Splunk logs?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-data-between-two-time-stamp-fields-using-time/m-p/587832#M204723</link>
      <description>&lt;P&gt;_time=time1, _raw=some contents&lt;/P&gt;
&lt;P&gt;_time=time2, _raw=some contents&lt;/P&gt;
&lt;P&gt;_time=time3, _raw=some contents&lt;/P&gt;
&lt;P&gt;_time=time4, _raw=some contents&lt;/P&gt;
&lt;P&gt;__time=time5, _raw=some contents&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I want to extract the data between time2 and time3 using of _time filed , can anyone help with this?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 04:49:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-data-between-two-time-stamp-fields-using-time/m-p/587832#M204723</guid>
      <dc:creator>satya671</dc:creator>
      <dc:date>2022-03-08T04:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: I want to extract the data between two time stamp fields using _time filed in splunk logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-data-between-two-time-stamp-fields-using-time/m-p/587854#M204733</link>
      <description>&lt;P&gt;How to extract the data depends on the format of the data in _raw.&amp;nbsp; You could use the &lt;FONT face="courier new,courier"&gt;extract, spath, xpath&lt;/FONT&gt;, or &lt;FONT face="courier new,courier"&gt;rex&lt;/FONT&gt; commands to do the work, depending on the nature of the data and what you wish to extract.&amp;nbsp; You also could use settings in the props.conf file to extract fields automatically.&lt;/P&gt;&lt;P&gt;Please tell us more about the use case so we can be more specific.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 13:32:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-data-between-two-time-stamp-fields-using-time/m-p/587854#M204733</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-03-07T13:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: I want to extract the data between two time stamp fields using _time filed in splunk logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-data-between-two-time-stamp-fields-using-time/m-p/588021#M204791</link>
      <description>&lt;P&gt;My use case here is to extract data from last successful run based on the filed _time in the splunk logs&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 12:46:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-data-between-two-time-stamp-fields-using-time/m-p/588021#M204791</guid>
      <dc:creator>satya671</dc:creator>
      <dc:date>2022-03-08T12:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: I want to extract the data between two time stamp fields using _time filed in splunk logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-data-between-two-time-stamp-fields-using-time/m-p/588022#M204792</link>
      <description>&lt;P&gt;Writing the same thing over and over again doesn't explain what you want to do. Give us example of your (anonymized) data, what you want as a result and what is the relation between source events and result.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 13:01:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-data-between-two-time-stamp-fields-using-time/m-p/588022#M204792</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-03-08T13:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: I want to extract the data between two time stamp fields using _time filed in splunk logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-data-between-two-time-stamp-fields-using-time/m-p/588025#M204794</link>
      <description>&lt;P&gt;Here I'm trying to extract the some data from the _raw content,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ex : for now data in splunk:&amp;nbsp; here the success run time will be _time2&lt;/P&gt;&lt;P&gt;_time=time2 , _raw=akjfkajdf4jlfadjf5453&lt;/P&gt;&lt;P&gt;_time=time1 , _raw=akjfkajdf6jlfadjf5457,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, when i again hit the splunk the data available in splunk like below&lt;/P&gt;&lt;P&gt;_time=time3 , _raw=akjfkajdf4jlfadjf5453&lt;/P&gt;&lt;P&gt;_time=time4 , _raw=akjfkajdf6jlfadjf5457,&lt;/P&gt;&lt;P&gt;_time=time2 , _raw=akjfkajdf4jlfadjf5454&lt;/P&gt;&lt;P&gt;_time=time1 , _raw=akjfkajdf6jlfadjf5455,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so , using splunk api i need to get the data from last successful run to till now&lt;/P&gt;&lt;P&gt;so my results should contain from time2 to now&lt;/P&gt;&lt;P&gt;_time=time3 , _raw=akjfkajdf4jlfadjf5453&lt;/P&gt;&lt;P&gt;_time=time4 , _raw=akjfkajdf6jlfadjf5457,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope this will clarify, lemme know&lt;/P&gt;&lt;P&gt;Need to integrate this logic in the spluk search query.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 13:12:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-data-between-two-time-stamp-fields-using-time/m-p/588025#M204794</guid>
      <dc:creator>satya671</dc:creator>
      <dc:date>2022-03-08T13:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: I want to extract the data between two time stamp fields using _time filed in splunk logs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-data-between-two-time-stamp-fields-using-time/m-p/588036#M204796</link>
      <description>&lt;P&gt;I don't understand how you define success.&lt;/P&gt;&lt;P&gt;Is it that you run some external tool using API to run a search on splunk and want to return only the events that were ingested since last successful run of your tool?&lt;/P&gt;&lt;P&gt;If so, you simply use "earliest=something latest=something" conditions. You can specify the "somethings" as unix timestamps (number of seconds since epoch) for simplicity.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 14:24:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-the-data-between-two-time-stamp-fields-using-time/m-p/588036#M204796</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-03-08T14:24:20Z</dc:date>
    </item>
  </channel>
</rss>

