How to add filter in Timelion?

Hi,

I have a field 'source' in my elasticsearch(please refer the below image) and i want to use the values in source field to add filter in my timelion grapg
Source

Timelion expression
.es(index=server-*, q='com.clarify.api.exception.DataNotFoundException', timefield='@timestamp').label('DataNotFoundException').bars(stack=false width=20).color(black)

Thanks in advance
Vineet

You can add multiple values in the query field for example you can do:
q='message:com.clarify.api.exception.DataNotFoundException AND source:value_to_filter_on'
You can see more examples here on "Grouping": https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#query-string-syntax

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.