Getting Data In

multiple inputs parser error

riderofyamaha
Explorer

When i try and run a multiple input search running 4.1.2 on windows 7 im getting an error message that causes search app to always return zero results as well as two error codes.

A red bar comes across the top saying:

Error in 'UnifiedSearch': Unable to parse the 'Invalid LHS for comparison' search.

and in the results table it says: [SimpleResultsTable module] Server reported HTTP status=400 while getting mode=events Error in 'UnifiedSearch': Unable to parse the 'Invalid LHS for comparison' search.

This is a simple search and it should be running without any problems as i ve used the same code for another search....

   the xml is: 

    <form>
    <label>Multiple inputs</label>
    <searchTemplate>index=_host=cvpn00bay-inside.bay.cbeyond.net        
    $SearchHere$ | fields Username, Host, IP, _time, vpn_poolip, Group</searchTemplate>
    <fieldset>
    <input type="text" token="series">
    <label>sourcetype</label>
    <default></default>
    <seed>splunkd</seed>
    <suffix>*</suffix>
    </input>
    <input type="text" token="otherFilter">
    <label>events per second greater than:</label>
    <prefix>eps&gt;</prefix>
    <default>-1</default>
    <seed>0</seed>
    </input>
    <!-- add default TimePicker -->
    <input type="time" />
    <input token="SearchHere" />
    </fieldset>
    <row>
    <!-- show results as a table -->
    <table>
    <options name="fields"> Username, Host, IP, _time, vpn_poolip, Group</options>  
    <title>activity</title> <option name="count">50</option> 
    </table> </row> <fields>_raw</fields>  </form>



    i REALLY need to figure this out, can count on u guys helping me out
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

I would say that this is the problem:

index=_host=cvpn00bay-inside.bay.cbeyond.net

Invalid LHS means that the Left Hand Side of a comparison, left of the = sign, can't be understood.

riderofyamaha
Explorer

what do u mean actual search? im searching for usernames or ip address's.... there is an input box on the left, time range picker in the center, and another input box on the right feeding a table.

0 Karma

Simeon
Splunk Employee
Splunk Employee

This looks like a form search of some sort. What is the actual search you are running?

0 Karma
Get Updates on the Splunk Community!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

Industry Solutions for Supply Chain and OT, Amazon Use Cases, Plus More New Articles ...

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

Enterprise Security Content Update (ESCU) | New Releases

In November, the Splunk Threat Research Team had one release of new security content via the Enterprise ...