{"id":24919,"date":"2020-11-04T13:07:52","date_gmt":"2020-11-04T13:07:52","guid":{"rendered":"https:\/\/merikebi.warrenmyers.com\/?p=24919"},"modified":"2020-11-04T13:07:52","modified_gmt":"2020-11-04T13:07:52","slug":"answer-by-warren-for-extract-values-from-a-field","status":"publish","type":"post","link":"https:\/\/merikebi.warrenmyers.com\/?p=24919","title":{"rendered":"Answer by warren for Extract Values from a field"},"content":{"rendered":"<p>If you don&#8217;t have the ability to modify your <code>props.conf<\/code> to extract the field correctly, this <code>rex<\/code> will pull it (presuming it&#8217;s at the end of the event):<\/p>\n<pre><code>index=ndx sourcetype=srctp\n| rex field=_raw &quot;HelloSample\\=(?&lt;HelloSample&gt;.+)&quot;\n<\/code><\/pre>\n<p>If your test is somewhere else in the event, we&#8217;ll need to know what kind of delimeters exist to refine the above regex<\/p>\n<p>from User warren &#8211; Stack Overflow https:\/\/stackoverflow.com\/questions\/54567818\/extract-values-from-a-field\/64680573#64680573<br \/>\nvia <a href=\"https:\/\/ifttt.com\/?ref=da&#038;site=wordpress\">IFTTT<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you don&#8217;t have the ability to modify your props.conf to extract the field correctly, this rex will pull it (presuming it&#8217;s at the end of the event): index=ndx sourcetype=srctp | rex field=_raw &quot;HelloSample\\=(?&lt;HelloSample&gt;.+)&quot; If your test is somewhere else in the event, we&#8217;ll need to know what kind of delimeters exist to refine the &hellip;<br \/><a href=\"https:\/\/merikebi.warrenmyers.com\/?p=24919\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">Continue reading <span class=\"screen-reader-text\">Answer by warren for Extract Values from a field<\/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-24919","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\/24919","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=24919"}],"version-history":[{"count":1,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/24919\/revisions"}],"predecessor-version":[{"id":24920,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/24919\/revisions\/24920"}],"wp:attachment":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24919"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fkeyring_services&post=24919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}