Thank you.

That is the same with regexp. I managed to get it working with using 4 
backslashes.

On Wednesday, 4 February 2015 00:20:10 UTC, Itamar Syn-Hershko wrote:
>
> Here's a working gist:
>
> https://gist.github.com/synhershko/3d915a7819145f2d7a1f
>
> You need to double escape the slashes - not sure if this is by design or 
> no but that works now
>
> --
>
> Itamar Syn-Hershko
> http://code972.com | @synhershko <https://twitter.com/synhershko>
> Freelance Developer & Consultant
> Lucene.NET committer and PMC member
>
> On Tue, Feb 3, 2015 at 7:56 PM, Ali Kheyrollahi <alio...@gmail.com 
> <javascript:>> wrote:
>
>> Wildcard does not work either. 
>> {"wildcard":{"CounterName":"\\Windows Azure 
>> Caching:Client(w3wp_*)\\Failure Exceptions"}}
>>
>> And regardless, Regexp does not work so on its own right it is a bug.
>> Can you please help open the issue on GitHub? Already have an issue which 
>> was closed:
>>
>> https://github.com/elasticsearch/kibana/issues/2698
>>
>>
>> On Tuesday, 3 February 2015 13:42:11 UTC, Itamar Syn-Hershko wrote:
>>>
>>> Thinking of it, I'm not sure why you are using regexp here - can you 
>>> just use wildcard query instead? http://www.elasticsearch.org/guide/en/
>>> elasticsearch/reference/current/query-dsl-wildcard-query.html
>>>
>>> --
>>>
>>> Itamar Syn-Hershko
>>> http://code972.com | @synhershko <https://twitter.com/synhershko>
>>> Freelance Developer & Consultant
>>> Lucene.NET committer and PMC member
>>>
>>> On Tue, Feb 3, 2015 at 12:00 PM, Ali Kheyrollahi <alio...@gmail.com> 
>>> wrote:
>>>
>>>> No it doesn't which has been my experience:
>>>>
>>>> {"regexp":{"CounterName":"\\Windows Azure 
>>>> Caching:Client\\(w3wp_.*\\)\\Failure 
>>>> Exceptions"}}
>>>> or
>>>> {"regexp":{"CounterName":"\\Windows Azure 
>>>> Caching\\:Client\\(w3wp_.*\\)\\Failure Exceptions"}}
>>>>
>>>> None of them work
>>>>
>>>> -- 
>>>> 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 elasticsearc...@googlegroups.com.
>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>> msgid/elasticsearch/9a4eabaa-1634-46a5-aa8a-f2c47ccd5745%
>>>> 40googlegroups.com 
>>>> <https://groups.google.com/d/msgid/elasticsearch/9a4eabaa-1634-46a5-aa8a-f2c47ccd5745%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 elasticsearc...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/elasticsearch/3ed729ef-697b-42e0-975b-3b3c86fd7734%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/elasticsearch/3ed729ef-697b-42e0-975b-3b3c86fd7734%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/9607bc7a-f1d3-40fe-bcbc-732b23cfc734%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to