<?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: How do I  get different field values in different fields  that are associated with same field value in another field? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-different-field-values-in-different-fields-that-are/m-p/486314#M193672</link>
    <description>&lt;P&gt;Hi @90509,&lt;BR /&gt;
I'm not sure to understand your need:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;you want to group your values by name,&lt;/LI&gt;
&lt;LI&gt;then you want to display all the values of the other fields for each name and eventually the count of occurrencies,&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;is this correct?&lt;/P&gt;

&lt;P&gt;If this is your need, you should run a search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_index
| stats values(user) AS user values(service) AS service values(device) AS device count BY name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2019 10:24:04 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2019-11-18T10:24:04Z</dc:date>
    <item>
      <title>How do I  get different field values in different fields  that are associated with same field value in another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-different-field-values-in-different-fields-that-are/m-p/486312#M193670</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
could you please help me with below info:&lt;/P&gt;

&lt;P&gt;user           service               name                device&lt;/P&gt;

&lt;P&gt;abc123         baadmin        Brahma              Louwps121&lt;/P&gt;

&lt;P&gt;bcx123         admin               siva                   louwps123&lt;/P&gt;

&lt;P&gt;bxc111           admin              Brahma            Louwps123&lt;/P&gt;

&lt;P&gt;abc123      backup             vijay                  Louwps101&lt;/P&gt;

&lt;P&gt;cxz123      backup          Brahma       Louwps123&lt;/P&gt;

&lt;P&gt;cxz123          backup             raghu                   Louwps001&lt;/P&gt;

&lt;P&gt;czx101      DM1         Brahma            Louwps111&lt;/P&gt;

&lt;P&gt;from this if I need to find out "Brahma" with that field value the remaining filed values that are associated with remaining field values in another fields.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 10:15:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-different-field-values-in-different-fields-that-are/m-p/486312#M193670</guid>
      <dc:creator>90509</dc:creator>
      <dc:date>2019-11-18T10:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I  get different field values in different fields  that are associated with same field value in another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-different-field-values-in-different-fields-that-are/m-p/486313#M193671</link>
      <description>&lt;P&gt;try this-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|stats values(*) as * by name|where name="Brahma"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Nov 2019 10:20:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-different-field-values-in-different-fields-that-are/m-p/486313#M193671</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2019-11-18T10:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I  get different field values in different fields  that are associated with same field value in another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-different-field-values-in-different-fields-that-are/m-p/486314#M193672</link>
      <description>&lt;P&gt;Hi @90509,&lt;BR /&gt;
I'm not sure to understand your need:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;you want to group your values by name,&lt;/LI&gt;
&lt;LI&gt;then you want to display all the values of the other fields for each name and eventually the count of occurrencies,&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;is this correct?&lt;/P&gt;

&lt;P&gt;If this is your need, you should run a search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_index
| stats values(user) AS user values(service) AS service values(device) AS device count BY name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 10:24:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-different-field-values-in-different-fields-that-are/m-p/486314#M193672</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-11-18T10:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I  get different field values in different fields  that are associated with same field value in another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-different-field-values-in-different-fields-that-are/m-p/486315#M193673</link>
      <description>&lt;P&gt;Thank you . Have a great journey !&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 08:08:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-different-field-values-in-different-fields-that-are/m-p/486315#M193673</guid>
      <dc:creator>90509</dc:creator>
      <dc:date>2019-11-20T08:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I  get different field values in different fields  that are associated with same field value in another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-different-field-values-in-different-fields-that-are/m-p/486316#M193674</link>
      <description>&lt;P&gt;Thank you . your function is working ,I apologies for not accepting your answer because he has sent first. I hope  you have great journey. &lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 08:10:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-different-field-values-in-different-fields-that-are/m-p/486316#M193674</guid>
      <dc:creator>90509</dc:creator>
      <dc:date>2019-11-20T08:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I  get different field values in different fields  that are associated with same field value in another field?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-different-field-values-in-different-fields-that-are/m-p/486317#M193675</link>
      <description>&lt;P&gt;No problem!&lt;BR /&gt;
Anyway, you can upvote other answer!&lt;/P&gt;

&lt;P&gt;Ciao and next time!&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 08:44:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-get-different-field-values-in-different-fields-that-are/m-p/486317#M193675</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-11-20T08:44:48Z</dc:date>
    </item>
  </channel>
</rss>

