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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...