{"id":64478,"date":"2022-10-03T19:32:50","date_gmt":"2022-10-03T19:32:50","guid":{"rendered":"https:\/\/merikebi.warrenmyers.com\/?p=64478"},"modified":"2022-10-03T19:32:50","modified_gmt":"2022-10-03T19:32:50","slug":"answer-by-warren-for-splunk-regex-formatting","status":"publish","type":"post","link":"https:\/\/merikebi.warrenmyers.com\/?p=64478","title":{"rendered":"Answer by warren for Splunk Regex formatting"},"content":{"rendered":"<p>This regular expression is simpler, and <em>should<\/em> match for you:<\/p>\n<pre><code>&lt;spl&gt;\n| rex field=_raw &quot;status\\W+(?&lt;status&gt;\\w+)&quot;\n| search status=&quot;error&quot;\n&lt;rest of spl\n<\/code><\/pre>\n<p>It matches the literal string <code>status<\/code> followed by non-word characters, then puts all found word characters into a field named <code>status<\/code><\/p>\n<p>from User warren &#8211; Stack Overflow https:\/\/stackoverflow.com\/questions\/73910663\/splunk-regex-formatting\/73939954#73939954<br \/>\nvia <a href=\"https:\/\/ifttt.com\/?ref=da&#038;site=wordpress\">IFTTT<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This regular expression is simpler, and should match for you: &lt;spl&gt; | rex field=_raw &quot;status\\W+(?&lt;status&gt;\\w+)&quot; | search status=&quot;error&quot; &lt;rest of spl It matches the literal string status followed by non-word characters, then puts all found word characters into a field named status from User warren &#8211; Stack Overflow https:\/\/stackoverflow.com\/questions\/73910663\/splunk-regex-formatting\/73939954#73939954 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-64478","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\/64478","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=64478"}],"version-history":[{"count":1,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/64478\/revisions"}],"predecessor-version":[{"id":64479,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/64478\/revisions\/64479"}],"wp:attachment":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=64478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=64478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=64478"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fkeyring_services&post=64478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}