<?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 How to filter by dimension and include names in mstats result? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-by-dimension-and-include-names-in-mstats-result/m-p/325076#M60464</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am looking for a way to filter by dimensions and include their name in mstats result so that down the line I can have charts per metric and dimension. What is the way of referencing custom dimensions?&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Bartosz &lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 07:43:29 GMT</pubDate>
    <dc:creator>bdjoulica</dc:creator>
    <dc:date>2018-04-10T07:43:29Z</dc:date>
    <item>
      <title>How to filter by dimension and include names in mstats result?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-by-dimension-and-include-names-in-mstats-result/m-p/325076#M60464</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am looking for a way to filter by dimensions and include their name in mstats result so that down the line I can have charts per metric and dimension. What is the way of referencing custom dimensions?&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Bartosz &lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 07:43:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-by-dimension-and-include-names-in-mstats-result/m-p/325076#M60464</guid>
      <dc:creator>bdjoulica</dc:creator>
      <dc:date>2018-04-10T07:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter by dimension and include names in mstats result?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-by-dimension-and-include-names-in-mstats-result/m-p/325077#M60465</link>
      <description>&lt;P&gt;Can you provide some sample data?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 14:05:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-by-dimension-and-include-names-in-mstats-result/m-p/325077#M60465</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-04-10T14:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter by dimension and include names in mstats result?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-by-dimension-and-include-names-in-mstats-result/m-p/325078#M60466</link>
      <description>&lt;P&gt;I'm not really sure what you want to accomplish directly.&lt;BR /&gt;
But if you use mstats like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| mstats latest(_value) AS last_value WHERE index="my_metrics" metric_name="*" by custom_dimension, metric_name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You are able to use metric_name as well as the custom_dimension field after this command. As well as metric_name and the values of all the metrics.&lt;BR /&gt;
hope that helps.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:10:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-by-dimension-and-include-names-in-mstats-result/m-p/325078#M60466</guid>
      <dc:creator>effem</dc:creator>
      <dc:date>2020-09-29T23:10:29Z</dc:date>
    </item>
  </channel>
</rss>

