<?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: Want to filter dataset within a log index to a metrics index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-dataset-within-a-log-index-to-a-metrics-index/m-p/627115#M107671</link>
    <description>&lt;P&gt;Yes, that can be done using props and transforms.&amp;nbsp; I won't get into it here, but it's documented at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.3/Metrics/L2MConfiguration" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.3/Metrics/L2MConfiguration&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jan 2023 21:32:59 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2023-01-13T21:32:59Z</dc:date>
    <item>
      <title>How to filter dataset within a log index to a metrics index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-dataset-within-a-log-index-to-a-metrics-index/m-p/627100#M107667</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have an existing high volume index and have discovered a chunk of event logs within the index that would be a great canidate to convert to metrics.&amp;nbsp; Can you filter these type of events to send to the metrics index and then convert the events to metrics at index time all using props/transforms?&lt;/P&gt;
&lt;P&gt;I have this props.conf&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[my_highvol_sourcetype]&lt;/P&gt;
&lt;P&gt;TRANSFORMS-routetoIndex = route_to_metrics_index&lt;/P&gt;
&lt;P&gt;Transforms.conf&lt;/P&gt;
&lt;P&gt;[route_to_metrics_index]&lt;/P&gt;
&lt;P&gt;REGEX = cpuUtilization\=&lt;/P&gt;
&lt;P&gt;DEST_KEY=_MetaData:Index&lt;/P&gt;
&lt;P&gt;FORMAT = my_metrics_index&lt;/P&gt;
&lt;P&gt;But now what sourcetype do I use to apply the event log to metrics conversion settings?&amp;nbsp; Should I filter this dataset to a new sourcetype within my high volume index so I can apply my event log to metrics to all events matching the new sourcetype then filter to the metrics index?&lt;/P&gt;
&lt;P&gt;Any thoughts would be helpful to see if something like this is possible to do using props/transforms.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 19:46:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-dataset-within-a-log-index-to-a-metrics-index/m-p/627100#M107667</guid>
      <dc:creator>johnward4</dc:creator>
      <dc:date>2023-01-16T19:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Want to filter dataset within a log index to a metrics index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-dataset-within-a-log-index-to-a-metrics-index/m-p/627115#M107671</link>
      <description>&lt;P&gt;Yes, that can be done using props and transforms.&amp;nbsp; I won't get into it here, but it's documented at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.3/Metrics/L2MConfiguration" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.3/Metrics/L2MConfiguration&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 21:32:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-dataset-within-a-log-index-to-a-metrics-index/m-p/627115#M107671</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-01-13T21:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Want to filter dataset within a log index to a metrics index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-dataset-within-a-log-index-to-a-metrics-index/m-p/627117#M107672</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;I have the conversion part configured but what I'm having trouble with is knowing what [sourcetype] to put the props.conf &amp;amp; transforms.conf under since I'm filtering from an existing index and base sourcetype.&amp;nbsp; Most of the main index data isn't not a canidate to convert from log event to metrics.&lt;/P&gt;&lt;P&gt;Normally I would use props and transforms to filter via REGEX to rename the matching data to set it to a new sourcetype.&amp;nbsp; In this case I'm trying to filter my REGEX match for a specific type of dataset, rename the sourcetype if needed, convert the field values to metrics and send this to the new metrics index.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 21:43:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-dataset-within-a-log-index-to-a-metrics-index/m-p/627117#M107672</guid>
      <dc:creator>johnward4</dc:creator>
      <dc:date>2023-01-13T21:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Want to filter dataset within a log index to a metrics index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-dataset-within-a-log-index-to-a-metrics-index/m-p/627361#M107703</link>
      <description>&lt;P&gt;I'm not sure how to proceed as this is an unusual use case.&lt;/P&gt;&lt;P&gt;This seems like a good use for Cribl, however.&amp;nbsp; See &lt;A href="https://cribl.io" target="_blank"&gt;https://cribl.io&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 14:24:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-dataset-within-a-log-index-to-a-metrics-index/m-p/627361#M107703</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-01-17T14:24:18Z</dc:date>
    </item>
  </channel>
</rss>

