{"id":74083,"date":"2023-06-04T12:03:11","date_gmt":"2023-06-04T12:03:11","guid":{"rendered":"https:\/\/merikebi.warrenmyers.com\/?p=74083"},"modified":"2023-06-04T12:03:11","modified_gmt":"2023-06-04T12:03:11","slug":"answer-by-warren-for-get-statistical-distribution-of-multivalue-entry-in-splunk","status":"publish","type":"post","link":"https:\/\/merikebi.warrenmyers.com\/?p=74083","title":{"rendered":"Answer by warren for Get statistical distribution of multivalue entry in Splunk"},"content":{"rendered":"<p>First, you need to break the multivalue field into separate entries<\/p>\n<p>This is one way to do it:<\/p>\n<pre><code>| makemv delim=&quot;,&quot; product_category\n| mvexpand product_category\n| stats values(product_category) as vpc dc(product_category) as dpc count by user_id\n<\/code><\/pre>\n<p>from User warren &#8211; Stack Overflow https:\/\/stackoverflow.com\/questions\/76386274\/get-statistical-distribution-of-multivalue-entry-in-splunk\/76400300#76400300<br \/>\nvia <a href=\"https:\/\/ifttt.com\/?ref=da&#038;site=wordpress\">IFTTT<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>First, you need to break the multivalue field into separate entries This is one way to do it: | makemv delim=&quot;,&quot; product_category | mvexpand product_category | stats values(product_category) as vpc dc(product_category) as dpc count by user_id from User warren &#8211; Stack Overflow https:\/\/stackoverflow.com\/questions\/76386274\/get-statistical-distribution-of-multivalue-entry-in-splunk\/76400300#76400300 via IFTTT<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[991],"keyring_services":[],"class_list":["post-74083","post","type-post","status-publish","format-standard","hentry","category-blih","tag-stackexchange"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/74083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=74083"}],"version-history":[{"count":1,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/74083\/revisions"}],"predecessor-version":[{"id":74084,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/74083\/revisions\/74084"}],"wp:attachment":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=74083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=74083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=74083"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fkeyring_services&post=74083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}