You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In taskElapsedQuery.json, if I put "@message.activityInstanceId": %{[@message][activityInstanceId]} } don't run the filter!! But if I put "@message.activityInstanceId": "ServiceTask_0x3lcq7:746360dc-e630-11ea-aa7c-02420a010002" } the filter runs as works good!! You know what is the error when is parsing?
------- EDIT
If I try with "@message.activityInstanceId.keyword": %{[@message][activityInstanceId]}, fail with tag [4] "_elasticsearch_lookup_failure"
The text was updated successfully, but these errors were encountered:
Logstash.conf
elasticsearch { add_tag => [ "taskElasticsearch " ] hosts => "elasticsearch:9200" user => "elastic" password => "password" index => ["filebeat-*"] query_template => "taskElapsedQuery.json" fields => { "@timestamp" => "record_started" } }
taskElapsedQuery.json
{ "size": 1, "sort" : [ { "@timestamp" : "desc" } ], "query": { "bool": { "must": { "bool" : { "must": [ { "match": { "@message.LogType": "Start" }},{ "match_phrase": { "@message.activityInstanceId": %{[@message][activityInstanceId]} }} ] } } } }, "_source": [ "@timestamp" ] }
In taskElapsedQuery.json, if I put "@message.activityInstanceId": %{[@message][activityInstanceId]} } don't run the filter!! But if I put "@message.activityInstanceId": "ServiceTask_0x3lcq7:746360dc-e630-11ea-aa7c-02420a010002" } the filter runs as works good!! You know what is the error when is parsing?
------- EDIT
If I try with "@message.activityInstanceId.keyword": %{[@message][activityInstanceId]}, fail with tag [4] "_elasticsearch_lookup_failure"
The text was updated successfully, but these errors were encountered: