<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Extracting multiple values from Rex in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525125#M8509</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Looking for some assistance with the existing query&lt;BR /&gt;&lt;SPAN&gt;rex max_match=0 field=_raw "IP BLOCK TYPE\",value=\"(?&amp;lt;IP_Block_Type&amp;gt;.*?)\s*(\w*+)\]"|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;eval IP_Block_Type= substr(IP_Block_Type, 1, len(IP_Block_Type)-1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This query gives us a column with outputs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ovverride.png" style="width: 717px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11346iB8F24A7F766C6AEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="ovverride.png" alt="ovverride.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Need assistance with pulling exact details in the column which will only have "OVERRIDE".&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 16 Oct 2020 19:44:06 GMT</pubDate>
    <dc:creator>nirmeshsolanki</dc:creator>
    <dc:date>2020-10-16T19:44:06Z</dc:date>
    <item>
      <title>Extracting multiple values from Rex</title>
      <link>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525125#M8509</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Looking for some assistance with the existing query&lt;BR /&gt;&lt;SPAN&gt;rex max_match=0 field=_raw "IP BLOCK TYPE\",value=\"(?&amp;lt;IP_Block_Type&amp;gt;.*?)\s*(\w*+)\]"|&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;eval IP_Block_Type= substr(IP_Block_Type, 1, len(IP_Block_Type)-1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This query gives us a column with outputs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ovverride.png" style="width: 717px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11346iB8F24A7F766C6AEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="ovverride.png" alt="ovverride.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Need assistance with pulling exact details in the column which will only have "OVERRIDE".&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 19:44:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525125#M8509</guid>
      <dc:creator>nirmeshsolanki</dc:creator>
      <dc:date>2020-10-16T19:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting multiple values from Rex</title>
      <link>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525127#M8510</link>
      <description>&lt;P&gt;What's the raw data for which your regex currently extract those field values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Give this a try as well.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;rex max_match=0 field=_raw "IP BLOCK TYPE\",value=\"(?&amp;lt;IP_Block_Type&amp;gt;[^\"]+)"&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 16 Oct 2020 19:52:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525127#M8510</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-10-16T19:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting multiple values from Rex</title>
      <link>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525140#M8511</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/15147"&gt;@somesoni2&lt;/a&gt;&amp;nbsp;The query you provided, gives me all the possible results which come under IP_BLOCK_TYPE&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="override_max.png" style="width: 828px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11348i7C8BFC5C0C36A1D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="override_max.png" alt="override_max.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 20:37:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525140#M8511</guid>
      <dc:creator>nirmeshsolanki</dc:creator>
      <dc:date>2020-10-16T20:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting multiple values from Rex</title>
      <link>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525142#M8512</link>
      <description>&lt;P&gt;@somisoni2 the query you provided gives me "Publi" and "Privat" outputs in the table.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 20:44:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525142#M8512</guid>
      <dc:creator>nirmeshsolanki</dc:creator>
      <dc:date>2020-10-16T20:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting multiple values from Rex</title>
      <link>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525145#M8513</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226967"&gt;@nirmeshsolanki&lt;/a&gt;&amp;nbsp;, my bad but I am not sure what result you are expecting in field&amp;nbsp;&lt;SPAN&gt;IP_Block_Type in final output, can you share the expected output you are looking for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 21:25:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525145#M8513</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-10-16T21:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting multiple values from Rex</title>
      <link>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525146#M8514</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/215670"&gt;@Nisha18789&lt;/a&gt;&amp;nbsp;, I am looking for an output "OVERRIDE" in the column IP_BLOCK_TYPE.&lt;/P&gt;&lt;P&gt;so we have the below outputs in the column:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Public&lt;/PRE&gt;&lt;DIV class="c-virtual_list__item"&gt;&lt;DIV class="c-message_kit__background c-message_kit__background--hovered p-message_pane_message__message c-message_kit__message"&gt;&lt;DIV class="c-message_kit__hover c-message_kit__hover--hovered"&gt;&lt;DIV class="c-message_kit__actions c-message_kit__actions--default"&gt;&lt;DIV class="c-message_kit__gutter"&gt;&lt;DIV class="c-message_kit__gutter__right"&gt;&lt;DIV class="c-message_kit__blocks c-message_kit__blocks--rich_text"&gt;&lt;DIV class="c-message__message_blocks c-message__message_blocks--rich_text"&gt;&lt;DIV class="p-block_kit_renderer"&gt;&lt;DIV class="p-block_kit_renderer__block_wrapper p-block_kit_renderer__block_wrapper--first"&gt;&lt;DIV class="p-rich_text_block"&gt;&lt;PRE&gt;Private",descendants_action={option_with_ea:"INHERIT",option_without_ea:"NOT_INHERIT"},operation="OVERRIDE&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="c-message_actions__container c-message__actions"&gt;&lt;DIV class="c-message_actions__group"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="c-virtual_list__item"&gt;&lt;DIV class="c-message_kit__background p-message_pane_message__message c-message_kit__message p-message_pane_message__message--last"&gt;&lt;DIV class="c-message_kit__hover"&gt;&lt;DIV class="c-message_kit__actions c-message_kit__actions--above"&gt;&lt;DIV class="c-message_kit__gutter"&gt;&lt;DIV class="c-message_kit__gutter__right"&gt;&lt;DIV class="c-message_kit__blocks c-message_kit__blocks--rich_text"&gt;&lt;DIV class="c-message__message_blocks c-message__message_blocks--rich_text"&gt;&lt;DIV class="p-block_kit_renderer"&gt;&lt;DIV class="p-block_kit_renderer__block_wrapper p-block_kit_renderer__block_wrapper--first"&gt;&lt;DIV class="p-rich_text_block"&gt;&lt;PRE&gt;Public",operation="OVERRIDE&lt;/PRE&gt;&lt;P&gt;But I am just looking for values containing OVERRIDE.&lt;BR /&gt;&lt;BR /&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Oct 2020 21:35:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525146#M8514</guid>
      <dc:creator>nirmeshsolanki</dc:creator>
      <dc:date>2020-10-16T21:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting multiple values from Rex</title>
      <link>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525152#M8515</link>
      <description>&lt;P&gt;| rex "(?&amp;lt;your_want&amp;gt;\bOVERRIDE\b)"&lt;BR /&gt;| where isnotnull(your_want)&lt;BR /&gt;how about this?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 00:32:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525152#M8515</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-10-17T00:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting multiple values from Rex</title>
      <link>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525249#M8516</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226967"&gt;@nirmeshsolanki&lt;/a&gt;&amp;nbsp;, can you try this and let me know if it works&lt;/P&gt;&lt;P&gt;|rex field=_raw "operation=\"(?&amp;lt;IP_Block_Type&amp;gt;.\w+)\""&lt;BR /&gt;|where isnotnull(IP_Block_Type)&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2020 14:13:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525249#M8516</guid>
      <dc:creator>Nisha18789</dc:creator>
      <dc:date>2020-10-18T14:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting multiple values from Rex</title>
      <link>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525520#M8521</link>
      <description>&lt;P&gt;Worked perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 08:05:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525520#M8521</guid>
      <dc:creator>nirmeshsolanki</dc:creator>
      <dc:date>2020-10-20T08:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting multiple values from Rex</title>
      <link>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525568#M8523</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/215670"&gt;@Nisha18789&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for the help in the previous query, I missed adding one more detail on the previous post which is :&lt;/P&gt;&lt;P&gt;Messages which I see in my column:&lt;/P&gt;&lt;P&gt;1.[name="IP BLOCK TYPE",value="Private",operation="OVERRIDE"]&lt;BR /&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.[name="IPBLOCKTYPE",value="Public",descendants_action={​​​​​​​​option_with_ea:"INHERIT",option_without_ea:"NOT_INHERIT"}​​​​​​​​,operation="OVERRIDE"]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Your solution works perfectly for 1st logic, need to add some query to the second option which would block&amp;nbsp;&lt;SPAN&gt;descendants_action in the query which you provided earlier.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks a lot again.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 14:03:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Extracting-multiple-values-from-Rex/m-p/525568#M8523</guid>
      <dc:creator>nirmeshsolanki</dc:creator>
      <dc:date>2020-10-20T14:03:17Z</dc:date>
    </item>
  </channel>
</rss>

