<?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: Splunk search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search/m-p/692569#M235722</link>
    <description>&lt;P&gt;I want to print, the age group with the highest fraud activity by a merchant, I found the solution for it, through the query that I mentioned earlier, it appears that the age group 19-35 performed more fraud activities.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 06 Jul 2024 21:40:40 GMT</pubDate>
    <dc:creator>s_unny</dc:creator>
    <dc:date>2024-07-06T21:40:40Z</dc:date>
    <item>
      <title>Splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search/m-p/692558#M235716</link>
      <description>&lt;P&gt;HI, i am new to Splunk and trying to gain hands-on experience, i am facing trouble to search the data based on this query "Which age group performed the most fraudulent activities and to what merchant?" can any one help me to figure out the soulution .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jul 2024 16:39:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search/m-p/692558#M235716</guid>
      <dc:creator>s_unny</dc:creator>
      <dc:date>2024-07-06T16:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search/m-p/692559#M235717</link>
      <description>&lt;P&gt;1. The question is a bit ambiguous.&lt;/P&gt;&lt;P&gt;2. We don't know your data. Post some (possibly anonymized but I don't think it's necessary in this case).&lt;/P&gt;&lt;P&gt;3. What have you tried so far and how the results differ from what you expected?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jul 2024 21:34:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search/m-p/692559#M235717</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-07-06T21:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search/m-p/692560#M235718</link>
      <description>&lt;P&gt;source="sampleprepared_data.csv" fraud="1" | stats count values(fraud) by age,merchant | sort - count&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have tried this query to aggregate the data by age and merchant and sorted the data in descending order, i feel&amp;nbsp; like something is missing, i can't figure out what&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jul 2024 17:00:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search/m-p/692560#M235718</guid>
      <dc:creator>s_unny</dc:creator>
      <dc:date>2024-07-06T17:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search/m-p/692567#M235721</link>
      <description>&lt;P&gt;Ok. "values(fraud)" will always be 1 because you're only searching for the events which have fraud=1.&lt;/P&gt;&lt;P&gt;As I said before, the question is a bit ambiguous. If you do your (without the values() aggregation which makes no sense.&lt;/P&gt;&lt;PRE&gt;| stats count by merchant age&lt;/PRE&gt;&lt;P&gt;it will indeed count your frauds splitting it for each age-merchant pair. But the question is whether you want this - the biggest merchant-age pair or if you want two separate stats one by age and one by merchant and want to find two separate maximum values - one for each stats. The former you already have. The latter you can get by doing two separate searches - one with count by age and onewith count by merchant. Getting both values from a single search will be more complicated.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jul 2024 21:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search/m-p/692567#M235721</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-07-06T21:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search/m-p/692569#M235722</link>
      <description>&lt;P&gt;I want to print, the age group with the highest fraud activity by a merchant, I found the solution for it, through the query that I mentioned earlier, it appears that the age group 19-35 performed more fraud activities.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jul 2024 21:40:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search/m-p/692569#M235722</guid>
      <dc:creator>s_unny</dc:creator>
      <dc:date>2024-07-06T21:40:40Z</dc:date>
    </item>
  </channel>
</rss>

