<?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: Textbox input for Dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680170#M55687</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/254654"&gt;@phanikumarcs&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;at first, if you want o use the text input only on eventid input, you should modify your search in :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;row&amp;gt;
   &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;EventID-Severity Matrix&amp;lt;/title&amp;gt;
      &amp;lt;input type="text" token="eventid" searchWhenChanged="true"&amp;gt;
         &amp;lt;label&amp;gt;Search EventID&amp;lt;/label&amp;gt;
         &amp;lt;prefix&amp;gt;EventID="&amp;lt;/prefix&amp;gt;
         &amp;lt;suffix&amp;gt;"&amp;lt;/suffix&amp;gt;
      &amp;lt;/input&amp;gt;
   &amp;lt;table&amp;gt;
      &amp;lt;search&amp;gt;
         &amp;lt;query&amp;gt;
            index IN ("foo1", "foo2", "foo3") host IN ("goo1", "goo2", "goo3", "goo4") EventID IN ("1", "1021", "1069") Name=* $eventid$
            | fields EventID Name host
            | eval Severity=case(
               EventID="1", "Information",
               EventID="1021", "Warning",
               EventID="1069", "Critical",)
            | rename Name as Message, host as Server
            | table _time, EventID, Server, Message, Severity&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$time.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$time.latest$&amp;lt;/latest&amp;gt;
       &amp;lt;/search&amp;gt;
       &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
       &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
    &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
&amp;lt;/row&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;otherwise the token will search on the raw text instead on the EventID field.&lt;/P&gt;&lt;P&gt;Then is eventid a field present in all the events or only in part of them?&lt;/P&gt;&lt;P&gt;if you use * in the text box, you exclude from the results the events without the&amp;nbsp;EventID field.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Sat, 09 Mar 2024 16:44:24 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2024-03-09T16:44:24Z</dc:date>
    <item>
      <title>Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680159#M55682</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;BR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/136781"&gt;@renjith_nair&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/1406"&gt;@woodcock&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="phanikumarcs_2-1709996619799.png" style="width: 780px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29695iCAD139275BD7E6FE/image-dimensions/780x55?v=v2" width="780" height="55" role="button" title="phanikumarcs_2-1709996619799.png" alt="phanikumarcs_2-1709996619799.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From the above "&lt;STRONG&gt;Textbox&lt;/STRONG&gt;" input and panel for (&lt;STRONG&gt;_time, EventID, Server, Message, Severity&lt;/STRONG&gt;)&lt;BR /&gt;&lt;BR /&gt;"&lt;STRONG&gt;Textbox&lt;/STRONG&gt;" Settings:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;input type="text" token="eventid" searchWhenChanged="true"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;label&amp;gt;Search EventID&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/input&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I search in the "&lt;STRONG&gt;Textbox&lt;/STRONG&gt;" using an "EventID", it only displays results based on the EventID values. However, when I search using other parameters such as "_time", "Server", "Message", or "Severity", it does not retrieve any results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone assist me with creating a conditional search for any of the following fields in a above&amp;nbsp; table:&amp;nbsp;&lt;/SPAN&gt;_time&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;EventID&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;Server&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;Message&lt;SPAN&gt;, or&amp;nbsp;&lt;/SPAN&gt;Severity&lt;SPAN&gt;? When I search for any value in these fields, I want the corresponding records to be displayed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Either in UI or Source need the settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 15:23:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680159#M55682</guid>
      <dc:creator>phanikumarcs</dc:creator>
      <dc:date>2024-03-09T15:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680162#M55683</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/254654"&gt;@phanikumarcs&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the input code you share isn't complete, could you share the complete form code?&lt;/P&gt;&lt;P&gt;with special attention to the panel's search that uses the text input token.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 16:06:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680162#M55683</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-09T16:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680164#M55684</link>
      <description>&lt;LI-CODE lang="markup"&gt;| where _time=$eventid$ OR EventID=$eventid$ OR Server=$eventid$ OR Message=$eventid$ OR Severity=$eventid$&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 09 Mar 2024 16:16:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680164#M55684</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-03-09T16:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680166#M55685</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;Here is the code&lt;BR /&gt;&lt;BR /&gt;&amp;lt;row&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;title&amp;gt;EventID-Severity Matrix&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;lt;input type="text" token="eventid" searchWhenChanged="true"&amp;gt;&lt;BR /&gt;&amp;lt;label&amp;gt;Search EventID&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;lt;/input&amp;gt;&lt;BR /&gt;&amp;lt;table&amp;gt;&lt;BR /&gt;&amp;lt;search&amp;gt;&lt;BR /&gt;&amp;lt;query&amp;gt;index IN ("foo1", "foo2", "foo3") host IN ("goo1", "goo2", "goo3", "goo4") EventID IN ("1", "1021", "1069") Name=* $eventid$&lt;BR /&gt;|fields EventID Name host&lt;BR /&gt;| eval Severity=case(&lt;BR /&gt;EventID="1", "Information",&lt;BR /&gt;EventID="1021", "Warning",&lt;BR /&gt;EventID="1069", "Critical",)&lt;BR /&gt;| rename Name as Message, host as Server&lt;BR /&gt;| table _time, EventID, Server, Message, Severity&amp;lt;/query&amp;gt;&lt;BR /&gt;&amp;lt;earliest&amp;gt;$time.earliest$&amp;lt;/earliest&amp;gt;&lt;BR /&gt;&amp;lt;latest&amp;gt;$time.latest$&amp;lt;/latest&amp;gt;&lt;BR /&gt;&amp;lt;/search&amp;gt;&lt;BR /&gt;&amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;/table&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;/row&amp;gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 16:20:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680166#M55685</guid>
      <dc:creator>phanikumarcs</dc:creator>
      <dc:date>2024-03-09T16:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680168#M55686</link>
      <description>&lt;P&gt;At first glance, there doesn't appear to be anything wrong with your search as you have shown it. Please can you give some examples of events which are not found and the search string used which failed to find the events?&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 16:28:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680168#M55686</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-03-09T16:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680170#M55687</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/254654"&gt;@phanikumarcs&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;at first, if you want o use the text input only on eventid input, you should modify your search in :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;row&amp;gt;
   &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;EventID-Severity Matrix&amp;lt;/title&amp;gt;
      &amp;lt;input type="text" token="eventid" searchWhenChanged="true"&amp;gt;
         &amp;lt;label&amp;gt;Search EventID&amp;lt;/label&amp;gt;
         &amp;lt;prefix&amp;gt;EventID="&amp;lt;/prefix&amp;gt;
         &amp;lt;suffix&amp;gt;"&amp;lt;/suffix&amp;gt;
      &amp;lt;/input&amp;gt;
   &amp;lt;table&amp;gt;
      &amp;lt;search&amp;gt;
         &amp;lt;query&amp;gt;
            index IN ("foo1", "foo2", "foo3") host IN ("goo1", "goo2", "goo3", "goo4") EventID IN ("1", "1021", "1069") Name=* $eventid$
            | fields EventID Name host
            | eval Severity=case(
               EventID="1", "Information",
               EventID="1021", "Warning",
               EventID="1069", "Critical",)
            | rename Name as Message, host as Server
            | table _time, EventID, Server, Message, Severity&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$time.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$time.latest$&amp;lt;/latest&amp;gt;
       &amp;lt;/search&amp;gt;
       &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
       &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
    &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
&amp;lt;/row&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;otherwise the token will search on the raw text instead on the EventID field.&lt;/P&gt;&lt;P&gt;Then is eventid a field present in all the events or only in part of them?&lt;/P&gt;&lt;P&gt;if you use * in the text box, you exclude from the results the events without the&amp;nbsp;EventID field.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 16:44:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680170#M55687</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-09T16:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680171#M55688</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;No, its not about the search&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| where _time=$eventid$ OR EventID=$eventid$ OR Server=$eventid$ OR Message=$eventid$ OR Severity=$eventid$&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make it as simple, when you search for specific values in any field (for example, EventID, Server, Message, or Severity) in the search input "Textbox", the system will display relevant data related to those fields. This allows for easy and straightforward searching based on the criteria.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Reference Image:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="phanikumarcs_0-1710002376981.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29696iC09853458D18FB1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="phanikumarcs_0-1710002376981.png" alt="phanikumarcs_0-1710002376981.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the code I provided earlier, what changes are necessary for token-related conditions?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 16:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680171#M55688</guid>
      <dc:creator>phanikumarcs</dc:creator>
      <dc:date>2024-03-09T16:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680175#M55689</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;great, understood.&lt;BR /&gt;&lt;BR /&gt;Suppose when i want to search the Server field value (goo1) in the EventID Textbox, it will display the results of goo1, similar to other fields as well (Message, Severity)&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 17:00:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680175#M55689</guid>
      <dc:creator>phanikumarcs</dc:creator>
      <dc:date>2024-03-09T17:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680176#M55690</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/254654"&gt;@phanikumarcs&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you have to declare the field that you want to use for the value in the text input, otherwise it willsearch in the raw text, and e.g. the host field usually isn't in the raw event, but in metadata.&lt;/P&gt;&lt;P&gt;but this add to your dashboard an additional issue: if the eventId field isn't present in all the events, adding event_Id=* will exclude from the results all the events without this field, so beware to how you use this input.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 17:06:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680176#M55690</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-09T17:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680179#M55692</link>
      <description>&lt;P&gt;There is no "&lt;SPAN&gt;search for specific values in any field" - where you have placed the token, it effectively searches the _raw field, and there doesn't appear to be anything wrong here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You have already got a "token-related condition".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please provide examples where this is not working for you, particularly with events which should have been found for a particular token value, or events which were found which shouldn't have been.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 17:48:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680179#M55692</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-03-09T17:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680192#M55696</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;To clarify, my understanding is that if any fields are included in the '_raw' only will search for those fields, applicable to all input methods (text, dropdown, multi-select, and others). Is that correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;In this case what is the solution for custom fields like in my query where field ("Severity") values (Critical, Warning, Information).&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 03:56:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680192#M55696</guid>
      <dc:creator>phanikumarcs</dc:creator>
      <dc:date>2024-03-10T03:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680193#M55697</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/254654"&gt;@phanikumarcs&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;sorry id I'm repeating: if you don't want to search a full text search on _raw, you have to declare the field to associate to each input (every kind of them).&lt;/P&gt;&lt;P&gt;But you have to put attention if some event's don't have one of the fields because the default (e.g. event_id=*) will exclude the events without this field.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 09:05:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680193#M55697</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-10T09:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680207#M55699</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I tried the below search its not working at all.&lt;/P&gt;&lt;PRE&gt;| where _time=$eventid$ OR EventID=$eventid$ OR Server=$eventid$ OR Message=$eventid$ OR Severity=$eventid$&lt;/PRE&gt;&lt;P&gt;When i keep this search in the pannel it gives all the desired results.&lt;BR /&gt;But, when i search in the "textbox" like values of Severity(Critical or Warning or Information) its not working.&lt;BR /&gt;when i search in the&amp;nbsp;"textbox" like values of (EventID or Server or Message) it is working&lt;BR /&gt;&lt;BR /&gt;I think due to Severity is a custom field, so its not working i guess is this right?&lt;BR /&gt;the EventID, Name as Message, host as Server fields are from _raw&lt;BR /&gt;&lt;BR /&gt;index=foo host=foo&lt;BR /&gt;"$search$" OR Severity="$search$"&lt;BR /&gt;| eval Severity=case(EventID="1068", "Warning",&lt;BR /&gt;EventID="1", "Information",&lt;BR /&gt;EventID="1021", "Warning",&lt;BR /&gt;EventID="7011", "Warning",&lt;BR /&gt;EventID="6006", "Warning",&lt;BR /&gt;EventID="4227", "Warning",&lt;BR /&gt;EventID="4231", "Warning",&lt;BR /&gt;EventID="1069", "Critical",&lt;BR /&gt;EventID="1205", "Critical",&lt;BR /&gt;EventID="1254", "Critical",&lt;BR /&gt;EventID="1282", "Critical")&lt;BR /&gt;| rename Name as Message, host as Server&lt;BR /&gt;| table _time EventID Server Message Severity&lt;BR /&gt;&lt;BR /&gt;any suggestions.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 15:30:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680207#M55699</guid>
      <dc:creator>phanikumarcs</dc:creator>
      <dc:date>2024-03-10T15:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680218#M55702</link>
      <description>&lt;P&gt;When using where and equals, the right hand side is treated as a field name, unless it is numeric, so if you do&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| where severity=$eventid$&lt;/LI-CODE&gt;&lt;P&gt;that will translate to&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| where severity=informational&lt;/LI-CODE&gt;&lt;P&gt;which will mean it's trying to compare the severity field to the informational field, which is of course not what you want.&lt;/P&gt;&lt;P&gt;You should do this with your where clause&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| where strftime(_time, "%F %T")=$eventid|s$ OR EventID=$eventid|s$ OR Server=$eventid|s$ OR Message=$eventid|s$ OR Severity=$eventid|s$&lt;/LI-CODE&gt;&lt;P&gt;The $eventid|s$ will cause the token value to be correctly quoted, so it will become&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| where severity="Informational"&lt;/LI-CODE&gt;&lt;P&gt;The reason I have made strftime(_time, "%F %T") is because _time is an epoch, so unless you specify the exact time epoch in seconds it will not match. This allows you to enter an ISO8601 date format YYYY-MM-DD HH:MM:SS&lt;/P&gt;&lt;P&gt;Note that the where clause will not support wildcard. You could change this to a "search" clause rather than a where clause then you could use wildcards in your search text box.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 22:57:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680218#M55702</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-03-10T22:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680228#M55706</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;unfortunately its not working, the only issue i guess is the custom filed "Severity" creating issue here.&lt;BR /&gt;i tried a lot of different searches but no use.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 02:30:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680228#M55706</guid>
      <dc:creator>phanikumarcs</dc:creator>
      <dc:date>2024-03-11T02:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680230#M55707</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; Thanks for your Ideas for helping me.&lt;BR /&gt;finally, I did it with the below addition, it worked what i desired results.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;
| rename host as Server, Name as Message
| eval Severity=case(
EventID="1068", "Warning",
EventID="1", "Information",
EventID="1021", "Warning",
EventID="7011", "Warning",
EventID="6006", "Warning",
EventID="4227", "Warning",
EventID="4231", "Warning",
EventID="1069", "Critical",
EventID="1205", "Critical",
EventID="1254", "Critical",
EventID="1282", "Critical")
| fields Server, EventID, Message, Severity
| search Severity="*$search$*" OR EventID="*$search$*" OR Server="*$search$*" OR Message="*$search$*"
| table _time, Server, EventID, Message, Severity&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 11 Mar 2024 09:41:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680230#M55707</guid>
      <dc:creator>phanikumarcs</dc:creator>
      <dc:date>2024-03-11T09:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Textbox input for Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680244#M55709</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/254654"&gt;@phanikumarcs&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 07:48:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Textbox-input-for-Dashboard/m-p/680244#M55709</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-11T07:48:40Z</dc:date>
    </item>
  </channel>
</rss>

