<?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 Re: Search in Table in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Search-in-Table/m-p/698976#M57298</link>
    <description>&lt;LI-CODE lang="markup"&gt;env=$env_dd$ "#HLS#" "#HLE#" "$interface_dd$" "$step_dd$" "$record_id$" "$state_dd$" "$message_1$" "$exception_id$" "$properties$"
| rex "#HLS#\s*IID:\s*(?P&amp;lt;IID&amp;gt;[^,]+),\s*STEP:\s*(?P&amp;lt;STEP&amp;gt;[^,]+),\s*PKEY:\s*(?P&amp;lt;PKEY&amp;gt;.*?),\s*STATE:\s*(?P&amp;lt;STATE&amp;gt;[^,]+),\s*MSG0:\s*(?P&amp;lt;MSG0&amp;gt;.*?),\s*PROPS:\s*(?P&amp;lt;PROPS&amp;gt;[^#]+)\s*#HLE#"
| search IID="*$interface_dd$*" STEP="*$step_dd$*" PKEY="*$record_id$*" STATE="*$state_dd$*" MSG0="*$message_1$*" PROPS="*$properties$*"
| fields IID STEP PKEY STATE MSG0 PROPS _time
| table IID STEP PKEY STATE MSG0 PROPS _time
| rename IID as "Interface ID", STEP as "Step", PKEY as "Primary Key", STATE as "State", MSG0 as "Message", EXCID as "Exception Code", PROPS as "Properties"&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 13 Sep 2024 14:04:50 GMT</pubDate>
    <dc:creator>ivoZgu</dc:creator>
    <dc:date>2024-09-13T14:04:50Z</dc:date>
    <item>
      <title>Search in Table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Search-in-Table/m-p/698200#M57233</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(index=hcp_system OR index=hcp_logging) namespace=$env_dd$
| rex "#HLS#\s*IID:\s*(?P&amp;lt;IID&amp;gt;[^,]+),\s*STEP:\s*(?P&amp;lt;STEP&amp;gt;[^,]+),\s*PKEY:\s*(?P&amp;lt;PKEY&amp;gt;[^,]+),\s*STATE:\s*(?P&amp;lt;STATE&amp;gt;[^,]+),\s*MSG0:\s*(?P&amp;lt;MSG0&amp;gt;[^,]+),\s*PROPS:\s*(?P&amp;lt;PROPS&amp;gt;[^#]+)\s*#HLE#"
| eval
IID=if("$interface_dd$"!="", "$interface_dd$", IID),
STEP=if("$step_dd$"!="", "$step_dd$", STEP),
PKEY=if(isnull("$record_id$") OR "$record_id$"="", PKEY, "*" . "$record_id$" . "*"),
STATE=if("$state_dd$"!="", "$state_dd$", STATE),
MSG0=if(isnull("$message_1$") OR "$message_1$"="", MSG0, "*" . "$message_1$" . "*"),
PROPS=if(isnull("$properties$") OR "$properties$"="", PROPS, "*" . "$properties$" . "*")
| search (IID=* OR isnull(IID)) (STEP=* OR isnull(STEP)) (PKEY=* OR isnull(PKEY)) (STATE=* OR isnull(STATE)) (MSG0=* OR isnull(MSG0)) (PROPS=* OR isnull(PROPS))
| table IID STEP PKEY STATE MSG0 PROPS&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How to make it show in the table values which are selected in DD and if the search field is "text field" (PKEY MSG0 and PROPS in my case) empty to show what the rex&amp;nbsp;&amp;nbsp;PKEY:\s*(?P&amp;lt;PKEY&amp;gt;[^,]+) will extract.&lt;BR /&gt;As current behavior is following:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;DD DropDown&lt;BR /&gt;TF Text Field&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Input :&lt;BR /&gt;-DD&amp;nbsp; IID:SF&amp;nbsp;&lt;BR /&gt;-DD&amp;nbsp; STEP:RECEIVE_FROM_KAFKA&lt;BR /&gt;-DD&amp;nbsp; STATE:IN_PROGRESS&lt;/P&gt;&lt;P&gt;-TF&amp;nbsp;&amp;nbsp;PKEY MSG0 and PROPS are empty&lt;/P&gt;&lt;P&gt;Msg1:"#HLS# IID:SF, STEP:RECEIVE_FROM_KAFKA, PKEY:456, STATE:IN_PROGRESS, MSG0:Success, PROPS:YES #HLE#"&lt;BR /&gt;Msg2: "#HLS# IID:SAP, STEP:SEND_TO_KAFKA, PKEY:52345345, STATE:IN_PROGRESS, MSG0:MOO, PROPS:FOO #HLE#"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Extracted Table:&lt;BR /&gt;STEP&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;PKEY&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;STATE&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; MSG0&amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp;PROPS&lt;BR /&gt;RECEIVE_FROM_KAFKA |&amp;nbsp; &amp;nbsp; 52345345 |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;IN_PROGRESS |&amp;nbsp; MOO&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; | YES&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ivoZgu_0-1725459177997.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32530i86C9E2F0A6E9DA57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ivoZgu_0-1725459177997.png" alt="ivoZgu_0-1725459177997.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Resume: the result is mixed in column lines from different messages in the input of the text fields is empty,&lt;BR /&gt;&lt;BR /&gt;How can I make it to extract all messages with the following log pattern and then filter them based on the DD or text fields?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 05:39:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Search-in-Table/m-p/698200#M57233</guid>
      <dc:creator>ivoZgu</dc:creator>
      <dc:date>2024-09-05T05:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Search in Table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Search-in-Table/m-p/698976#M57298</link>
      <description>&lt;LI-CODE lang="markup"&gt;env=$env_dd$ "#HLS#" "#HLE#" "$interface_dd$" "$step_dd$" "$record_id$" "$state_dd$" "$message_1$" "$exception_id$" "$properties$"
| rex "#HLS#\s*IID:\s*(?P&amp;lt;IID&amp;gt;[^,]+),\s*STEP:\s*(?P&amp;lt;STEP&amp;gt;[^,]+),\s*PKEY:\s*(?P&amp;lt;PKEY&amp;gt;.*?),\s*STATE:\s*(?P&amp;lt;STATE&amp;gt;[^,]+),\s*MSG0:\s*(?P&amp;lt;MSG0&amp;gt;.*?),\s*PROPS:\s*(?P&amp;lt;PROPS&amp;gt;[^#]+)\s*#HLE#"
| search IID="*$interface_dd$*" STEP="*$step_dd$*" PKEY="*$record_id$*" STATE="*$state_dd$*" MSG0="*$message_1$*" PROPS="*$properties$*"
| fields IID STEP PKEY STATE MSG0 PROPS _time
| table IID STEP PKEY STATE MSG0 PROPS _time
| rename IID as "Interface ID", STEP as "Step", PKEY as "Primary Key", STATE as "State", MSG0 as "Message", EXCID as "Exception Code", PROPS as "Properties"&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 13 Sep 2024 14:04:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Search-in-Table/m-p/698976#M57298</guid>
      <dc:creator>ivoZgu</dc:creator>
      <dc:date>2024-09-13T14:04:50Z</dc:date>
    </item>
  </channel>
</rss>

