{"id":25539,"date":"2020-11-23T15:17:25","date_gmt":"2020-11-23T15:17:25","guid":{"rendered":"https:\/\/merikebi.warrenmyers.com\/?p=25539"},"modified":"2020-11-23T15:17:25","modified_gmt":"2020-11-23T15:17:25","slug":"answer-by-warren-for-is-it-possible-to-call-a-url-in-a-splunk-dashboard-and-get-the-response-as-a-string","status":"publish","type":"post","link":"https:\/\/merikebi.warrenmyers.com\/?p=25539","title":{"rendered":"Answer by warren for Is it possible to call a URL in a Splunk dashboard and get the response as a string?"},"content":{"rendered":"<p>If I understand you correctly, you want to have the drilldown target be an external link.<\/p>\n<p>If that is correct, just put the external URL in the drilldown: <a href=\"https:\/\/i.stack.imgur.com\/WUt0x.png\" rel=\"nofollow noreferrer\"><img decoding=\"async\" src=\"https:\/\/i.stack.imgur.com\/WUt0x.png\" alt=\"enter image description here\" \/><\/a><\/p>\n<p>If you want some <em>value<\/em> from an external link to be pulled-into Splunk, then you&#8217;ll need to setup another mechanism.<\/p>\n<p>For example, you might have a <a href=\"https:\/\/www.splunk.com\/view\/SP-CAAAHUD\" rel=\"nofollow noreferrer\">scripted input<\/a> that will query an external endpoint, and add results to an index or lookup table.<\/p>\n<p>Or you might utilize a <a href=\"https:\/\/splunkbase.splunk.com\/apps\/#\/search\/rest\" rel=\"nofollow noreferrer\">REST endpoint app<\/a> to achieve something similar.<\/p>\n<p>from User warren &#8211; Stack Overflow https:\/\/stackoverflow.com\/questions\/64963690\/is-it-possible-to-call-a-url-in-a-splunk-dashboard-and-get-the-response-as-a-str\/64971025#64971025<br \/>\nvia <a href=\"https:\/\/ifttt.com\/?ref=da&#038;site=wordpress\">IFTTT<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If I understand you correctly, you want to have the drilldown target be an external link. If that is correct, just put the external URL in the drilldown: If you want some value from an external link to be pulled-into Splunk, then you&#8217;ll need to setup another mechanism. For example, you might have a scripted &hellip;<br \/><a href=\"https:\/\/merikebi.warrenmyers.com\/?p=25539\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">Continue reading <span class=\"screen-reader-text\">Answer by warren for Is it possible to call a URL in a Splunk dashboard and get the response as a string?<\/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-25539","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\/25539","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=25539"}],"version-history":[{"count":1,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/25539\/revisions"}],"predecessor-version":[{"id":25540,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/25539\/revisions\/25540"}],"wp:attachment":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25539"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fkeyring_services&post=25539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}