Dashboards & Visualizations

Dashboard doesn't run search when submit button is clicked.

Allene139
Explorer

Hi Everyone.

I have a small dashboard whos purpose is rather simple: input information, when the submit button is clicked, the info will be appended to a lookup.

But first, I want to simply display what the user inputs onto a table. However, the submit button is not working. Here is the dashboard code:

 

<form version="1.1" theme="dark">
  <label>Anonomized Dash Name</label>
  <description>Anonomized Description.</description>
  <fieldset submitButton="true" autoRun="false">
    <input type="text" token="username_token" searchWhenChanged="false">
      <label>Username</label>
    </input>
    <input type="text" token="email_token" searchWhenChanged="false">
      <label>Email</label>
    </input>
    <input type="text" token="phone_number_token" searchWhenChanged="false">
      <label>Phone Number</label>
    </input>
    <input type="text" token="intel_date_token" searchWhenChanged="false">
      <label>Intel Date</label>
    </input>
    <input type="text" token="ip_address_token" searchWhenChanged="false">
      <label>IP Address</label>
    </input>
    <input type="text" token="EE_number_token" searchWhenChanged="false">
      <label>EE_number</label>
    </input>
    <input type="text" token="mailiing_address_token" searchWhenChanged="false">
      <label>Mailing Address</label>
    </input>
    <input type="text" token="ticket_number" searchWhenChanged="false">
      <label>Ticket Number</label>
    </input>
    <input type="text" token="intel_type_token" searchWhenChanged="false">
      <label>Intel Type</label>
      <default>ATO</default>
    </input>
    <input type="text" token="comments_token" searchWhenChanged="false">
      <label>Comments</label>
    </input>
  </fieldset>
  <row>
    <panel>
      <table>
        <title>Results</title>
        <search>
          <query>| makeresults 
| eval username = "$username_token$" 
| eval callback_num = "$phone_number_token$" 
| eval email = "$email_token$" 
| eval intel_date = "$intel_date_token$" 
| eval src_ip = "$ip_address_token$" 
| eval "mailing address" = "$mailing_address_token$" 
| eval EE_number = "$EE_number_token$" 
| eval ph_num = "$phone_number_token$" 
| eval "Ticket Number" = "$ticket_number_token$" 
| eval Comments = "$comments_token$" 
| table username email EE_number callback_num ph_num intel_date src_ip "mailing address" "Ticket Number" Comments</query>
          <earliest>-24h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">none</option>
        <option name="refresh.display">progressbar</option>
      </table>
    </panel>
  </row>
</form>

 

 

Labels (3)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Yoiu don't appear to have set the 

xsoar_ticket_number_token
0 Karma

Allene139
Explorer

I renamed all my variables to anonymize the data. Thanks for catching the one I forgot!

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...