<?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 Recover fields after stats in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Recover-fields-after-stats/m-p/529880#M35967</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a first dashboard with this query:&lt;/P&gt;&lt;P&gt;index=ind&amp;nbsp; hostname=* (cat_name=success OR cat_name=failed) service=*&lt;BR /&gt;| eval site=substr(DeviceName,1,7) + substr(DeviceName, -4)&lt;BR /&gt;| stats values(cat_name) as status by mac service site&lt;BR /&gt;| where mvcount(status)=1 and status="failed" and service="x"&lt;BR /&gt;| dedup mac&lt;BR /&gt;| stats count by site&lt;/P&gt;&lt;P&gt;In the result I have a count of only "failed" by site. If I click on a count, I go to another dashboard that shows some informations for the specific site. This is the second dashboard query:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;index=ind&amp;nbsp; hostname=* (cat_name=success OR cat_name=failed) service=*&lt;BR /&gt;| eval site=substr(DeviceName,1,7) + substr(DeviceName, -4)&lt;BR /&gt;| stats values(cat_name) as status by mac service site&lt;BR /&gt;| where mvcount(status)=1 and status="failed" and service="x"&lt;BR /&gt;| dedup mac&lt;BR /&gt;| search site="$token$"&lt;BR /&gt;| dedup mac&amp;nbsp;&amp;nbsp;&lt;BR /&gt;| table site mac status ip dest&lt;/P&gt;&lt;P&gt;The problem is that I have not results for ip and dest, I think beacause I lost them after stats command. Can you help me???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 10:58:02 GMT</pubDate>
    <dc:creator>marco_massari11</dc:creator>
    <dc:date>2020-11-18T10:58:02Z</dc:date>
    <item>
      <title>Recover fields after stats</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Recover-fields-after-stats/m-p/529880#M35967</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a first dashboard with this query:&lt;/P&gt;&lt;P&gt;index=ind&amp;nbsp; hostname=* (cat_name=success OR cat_name=failed) service=*&lt;BR /&gt;| eval site=substr(DeviceName,1,7) + substr(DeviceName, -4)&lt;BR /&gt;| stats values(cat_name) as status by mac service site&lt;BR /&gt;| where mvcount(status)=1 and status="failed" and service="x"&lt;BR /&gt;| dedup mac&lt;BR /&gt;| stats count by site&lt;/P&gt;&lt;P&gt;In the result I have a count of only "failed" by site. If I click on a count, I go to another dashboard that shows some informations for the specific site. This is the second dashboard query:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;index=ind&amp;nbsp; hostname=* (cat_name=success OR cat_name=failed) service=*&lt;BR /&gt;| eval site=substr(DeviceName,1,7) + substr(DeviceName, -4)&lt;BR /&gt;| stats values(cat_name) as status by mac service site&lt;BR /&gt;| where mvcount(status)=1 and status="failed" and service="x"&lt;BR /&gt;| dedup mac&lt;BR /&gt;| search site="$token$"&lt;BR /&gt;| dedup mac&amp;nbsp;&amp;nbsp;&lt;BR /&gt;| table site mac status ip dest&lt;/P&gt;&lt;P&gt;The problem is that I have not results for ip and dest, I think beacause I lost them after stats command. Can you help me???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 10:58:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Recover-fields-after-stats/m-p/529880#M35967</guid>
      <dc:creator>marco_massari11</dc:creator>
      <dc:date>2020-11-18T10:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Recover fields after stats</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Recover-fields-after-stats/m-p/529883#M35968</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228757"&gt;@marco_massari11&lt;/a&gt;&amp;nbsp;, can you try using eventstats instead of stats?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 11:13:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Recover-fields-after-stats/m-p/529883#M35968</guid>
      <dc:creator>t_shreya</dc:creator>
      <dc:date>2020-11-18T11:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Recover fields after stats</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Recover-fields-after-stats/m-p/529886#M35969</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225841"&gt;@t_shreya&lt;/a&gt;&amp;nbsp; It works!!!&lt;/P&gt;&lt;P&gt;Thank you so much&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 11:16:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Recover-fields-after-stats/m-p/529886#M35969</guid>
      <dc:creator>marco_massari11</dc:creator>
      <dc:date>2020-11-18T11:16:46Z</dc:date>
    </item>
  </channel>
</rss>

