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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Mile High Learning with Splunk University, Denver, Colorado

If Denver is known for its mile-high elevation, Splunk University is about to raise the bar on technical ...

IT Service Intelligence 5.0 Series: Your Guide to the June Launch

We are excited to announce the June release of Splunk IT Service Intelligence (ITSI) 5.0. This update ...

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...