<?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 Event logs to metric conversion using scheduled search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Event-logs-to-metric-conversion-using-scheduled-search/m-p/657324#M227045</link>
    <description>&lt;P&gt;We have got a requirement where, event logs need to be indexed under a metrics index. For this we are using mcollect command to ingest during search time.&lt;BR /&gt;&lt;BR /&gt;For automatic conversion, we have scheduled a search to run every 1 hour, but in case of missed schedule data is lost for that schedule.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the best way to store the last indexed time and run the schedule based on the last indexed time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Note: In long run we will be using &lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.1/Metrics/L2MSplunkWeb" target="_self"&gt;LogToMetrics&lt;/A&gt; sourcetype for conversion, Until then we need to use the mcollect command.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2023 10:30:21 GMT</pubDate>
    <dc:creator>anand_p</dc:creator>
    <dc:date>2023-09-13T10:30:21Z</dc:date>
    <item>
      <title>Event logs to metric conversion using scheduled search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Event-logs-to-metric-conversion-using-scheduled-search/m-p/657324#M227045</link>
      <description>&lt;P&gt;We have got a requirement where, event logs need to be indexed under a metrics index. For this we are using mcollect command to ingest during search time.&lt;BR /&gt;&lt;BR /&gt;For automatic conversion, we have scheduled a search to run every 1 hour, but in case of missed schedule data is lost for that schedule.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the best way to store the last indexed time and run the schedule based on the last indexed time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Note: In long run we will be using &lt;A href="https://docs.splunk.com/Documentation/Splunk/9.1.1/Metrics/L2MSplunkWeb" target="_self"&gt;LogToMetrics&lt;/A&gt; sourcetype for conversion, Until then we need to use the mcollect command.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 10:30:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Event-logs-to-metric-conversion-using-scheduled-search/m-p/657324#M227045</guid>
      <dc:creator>anand_p</dc:creator>
      <dc:date>2023-09-13T10:30:21Z</dc:date>
    </item>
  </channel>
</rss>

