{"id":51614,"date":"2022-02-16T16:32:40","date_gmt":"2022-02-16T16:32:40","guid":{"rendered":"https:\/\/merikebi.warrenmyers.com\/?p=51614"},"modified":"2022-02-16T16:32:40","modified_gmt":"2022-02-16T16:32:40","slug":"answer-by-warren-for-how-to-search-a-lookup-based-on-partial-match-of-field-values-of-a-base-search-in-splunk","status":"publish","type":"post","link":"https:\/\/merikebi.warrenmyers.com\/?p=51614","title":{"rendered":"Answer by warren for How to search a lookup based on partial match of field values of a base search in splunk"},"content":{"rendered":"<p>Enable <a href=\"https:\/\/docs.splunk.com\/Documentation\/Splunk\/latest\/Knowledge\/Usefieldlookupstoaddinformationtoyourevents\" rel=\"nofollow noreferrer\">WILDCARD<\/a> matching in your <a href=\"https:\/\/docs.splunk.com\/Splexicon:Lookupdefinition\" rel=\"nofollow noreferrer\">lookup definition<\/a>, then do something like:<\/p>\n<pre><code>&lt;first part of search&gt;\n| lookup mylookup user AS name_last OUTPUT date intel_source\n&lt;rest of search&gt;\n<\/code><\/pre>\n<p>Of course, this will only be <em>potentially<\/em> helpful if user names incorporate aspects of real names<\/p>\n<p>If you have a John Smith whose username is rockinrutabega1970 or 829911882 or sm792ask38 &#8230; you&#8217;ll be up the proverbial creek with your attempt to &quot;help&quot; \ud83d\ude42<\/p>\n<p>from User warren &#8211; Stack Overflow https:\/\/stackoverflow.com\/questions\/71131587\/how-to-search-a-lookup-based-on-partial-match-of-field-values-of-a-base-search-i\/71145521#71145521<br \/>\nvia <a href=\"https:\/\/ifttt.com\/?ref=da&#038;site=wordpress\">IFTTT<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Enable WILDCARD matching in your lookup definition, then do something like: &lt;first part of search&gt; | lookup mylookup user AS name_last OUTPUT date intel_source &lt;rest of search&gt; Of course, this will only be potentially helpful if user names incorporate aspects of real names If you have a John Smith whose username is rockinrutabega1970 or 829911882 &hellip;<br \/><a href=\"https:\/\/merikebi.warrenmyers.com\/?p=51614\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">Continue reading <span class=\"screen-reader-text\">Answer by warren for How to search a lookup based on partial match of field values of a base search in splunk<\/span><\/a><\/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-51614","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\/51614","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=51614"}],"version-history":[{"count":1,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/51614\/revisions"}],"predecessor-version":[{"id":51615,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/51614\/revisions\/51615"}],"wp:attachment":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=51614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=51614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=51614"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fkeyring_services&post=51614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}