{"id":21415,"date":"2020-09-21T18:20:46","date_gmt":"2020-09-21T18:20:46","guid":{"rendered":"https:\/\/merikebi.warrenmyers.com\/?p=21415"},"modified":"2020-09-21T18:20:46","modified_gmt":"2020-09-21T18:20:46","slug":"new-comment-on-reddit-2081","status":"publish","type":"post","link":"https:\/\/merikebi.warrenmyers.com\/?p=21415","title":{"rendered":"New comment on reddit"},"content":{"rendered":"<div class=\"md\">\n<p>To make your search faster, do this:<\/p>\n<pre><code>index=&quot;suricata&quot; sourcetype=&quot;suricata:alert&quot; | stats count by category <\/code><\/pre>\n<p>But as to the populating question &#8230; these two lines are your problem:<\/p>\n<pre><code>&lt;fieldForLabel&gt;column&lt;\/fieldForLabel&gt; &lt;fieldForValue&gt;column&lt;\/fieldForValue&gt; <\/code><\/pre>\n<p>There is no field named &quot;<code>column<\/code>&quot; in your data<\/p>\n<p>Change it to reference <code>category<\/code> instead of <code>column<\/code>:<\/p>\n<pre><code>&lt;fieldForLabel&gt;category&lt;\/fieldForLabel&gt; &lt;fieldForValue&gt;category&lt;\/fieldForValue&gt; <\/code><\/pre>\n<\/p><\/div>\n<p>September 21, 2020 at 01:57PM<br \/>\nvia reddit https:\/\/www.reddit.com\/r\/Splunk\/comments\/iwkv5b\/why_does_my_dropdown_not_populate_dynamically\/g64mzpg?utm_source=ifttt<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To make your search faster, do this: index=&quot;suricata&quot; sourcetype=&quot;suricata:alert&quot; | stats count by category But as to the populating question &#8230; these two lines are your problem: &lt;fieldForLabel&gt;column&lt;\/fieldForLabel&gt; &lt;fieldForValue&gt;column&lt;\/fieldForValue&gt; There is no field named &quot;column&quot; in your data Change it to reference category instead of column: &lt;fieldForLabel&gt;category&lt;\/fieldForLabel&gt; &lt;fieldForValue&gt;category&lt;\/fieldForValue&gt; September 21, 2020 at 01:57PM via reddit &hellip;<br \/><a href=\"https:\/\/merikebi.warrenmyers.com\/?p=21415\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">Continue reading <span class=\"screen-reader-text\">New comment on reddit<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[4],"tags":[972],"keyring_services":[],"class_list":["post-21415","post","type-post","status-publish","format-standard","hentry","category-blih","tag-reddit"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/21415","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=21415"}],"version-history":[{"count":1,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/21415\/revisions"}],"predecessor-version":[{"id":21416,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/21415\/revisions\/21416"}],"wp:attachment":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21415"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fkeyring_services&post=21415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}