dd.ho  
                (dd.ho)
               
                 
              
                  
                    March 3, 2017,  3:09am
                   
                   
              1 
               
             
            
              I use elasticsearch head plugin to search, as this:
{ "query": { "filtered": { "filter": { "script": { "script": "doc["indexTime"].value < param1", "params" : { "param1" : 80 } } }, "query": { "match_all": {} } } } }
It doesn't work, returns all the data in the index, doesn't filter the result, what's wrong? tks!
             
            
               
               
               
            
            
           
          
            
              
                dadoonet  
                (David Pilato)
               
              
                  
                    March 3, 2017,  4:02am
                   
                   
              2 
               
             
            
              Please format your code using </> icon as explained in this guide . It will make your post more readable.
Or use markdown style like:
```
CODE
```
 
May be you used GET verb. IIRC it was not working but POST was.
BTW you should use Kibana console.
             
            
               
               
               
            
            
           
          
            
              
                system  
                (system)
                  Closed 
               
              
                  
                    March 31, 2017,  4:02am
                   
                   
              3 
               
             
            
              This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.