tchyzh  
                (tchyzh)
               
                 
              
                  
                    November 19, 2014, 11:07am
                   
                   
              1 
               
             
            
              Hi Everyone! please advice me how return only specific value from a query:
Here's how my index looks like:
"{ 
"_index" : "logstash-2014.10.23", 
"_type" : "mia_worker-prod", 
"_id" : "wLAyxPVRTeOXsl9mUk3iNw", 
"_score" : 1, 
"_source" : { 
"name" : "mia_worker", 
"hostname" : "360prod-mia01", 
"pid" : 890, 
"resource" : "user_timeline", 
"id" : "claim:17762896", 
"version" : "2014-10-23T13:34:08.817", 
"level" : 30, 
"msg" : "changed.complete", 
"time" : "2014-10-23T13:35:07.714Z", 
"v" : 0 
}"
I need a query that just returns a "level:30" value for my monitoring! 
Thank you in advance for your help!
-- 
You received this message because you are subscribed to the Google Groups "elasticsearch" group. 
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com . 
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9e184169-a15b-40a1-b7a4-0756b8ab8c0e%40googlegroups.com . 
For more options, visit https://groups.google.com/d/optout .
             
            
               
               
               
            
            
           
          
            
              
                tchyzh  
                (tchyzh)
               
              
                  
                    November 19, 2014, 12:15pm
                   
                   
              2 
               
             
            
              On Wednesday, 19 November 2014 13:07:13 UTC+2, tch...@360incentives.com  
wrote:
Hi Everyone! please advice me how return only specific value from a query:
Here's how my index looks like:
"{ 
"_index" : "logstash-2014.10.23", 
"_type" : "mia_worker-prod", 
"_id" : "wLAyxPVRTeOXsl9mUk3iNw", 
"_score" : 1, 
"_source" : { 
"name" : "mia_worker", 
"hostname" : "360prod-mia01", 
"pid" : 890, 
"resource" : "user_timeline", 
"id" : "claim:17762896", 
"version" : "2014-10-23T13:34:08.817", 
"level" : 30, 
"msg" : "changed.complete", 
"time" : "2014-10-23T13:35:07.714Z", 
"v" : 0 
}"
I need a query that just returns a "level:30" value for my monitoring! 
Thank you in advance for your help!
 
Please Please help!!!
-- 
You received this message because you are subscribed to the Google Groups "elasticsearch" group. 
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com . 
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/60a3cb44-51d0-47e7-ab6e-62d731c49712%40googlegroups.com . 
For more options, visit https://groups.google.com/d/optout .
             
            
               
               
               
            
            
           
          
            
              
                Ivan  
                (Ivan Brusic)
               
                 
              
                  
                    November 19, 2014,  8:15pm
                   
                   
              3 
               
             
            
              Try using Jorg's plugin:
-- 
Ivan
On Wed, Nov 19, 2014 at 7:15 AM, tchyzh@360incentives.com  wrote:
On Wednesday, 19 November 2014 13:07:13 UTC+2, tch...@360incentives.com  
wrote:
Hi Everyone! please advice me how return only specific value from a query:
Here's how my index looks like:
"{ 
"_index" : "logstash-2014.10.23", 
"_type" : "mia_worker-prod", 
"_id" : "wLAyxPVRTeOXsl9mUk3iNw", 
"_score" : 1, 
"_source" : { 
"name" : "mia_worker", 
"hostname" : "360prod-mia01", 
"pid" : 890, 
"resource" : "user_timeline", 
"id" : "claim:17762896", 
"version" : "2014-10-23T13:34:08.817", 
"level" : 30, 
"msg" : "changed.complete", 
"time" : "2014-10-23T13:35:07.714Z", 
"v" : 0 
}"
I need a query that just returns a "level:30" value for my monitoring! 
Thank you in advance for your help!
 
Please Please help!!!
-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group. 
To unsubscribe from this group and stop receiving emails from it, send an 
email to elasticsearch+unsubscribe@googlegroups.com . 
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/60a3cb44-51d0-47e7-ab6e-62d731c49712%40googlegroups.com  
https://groups.google.com/d/msgid/elasticsearch/60a3cb44-51d0-47e7-ab6e-62d731c49712%40googlegroups.com?utm_medium=email&utm_source=footer  
.
For more options, visit https://groups.google.com/d/optout .
 
-- 
You received this message because you are subscribed to the Google Groups "elasticsearch" group. 
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com . 
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQBP85Oqk7ozZJ2LG%3DGLqLa5UwpCB0igUV5%2BfRtBTifPKQ%40mail.gmail.com . 
For more options, visit https://groups.google.com/d/optout .