Quantcast
Channel: Questions in topic: "datamodel"
Viewing all articles
Browse latest Browse all 226

Datamodel missing field extractions, but base search returns those fields accurately.

$
0
0
I have a datamodel lets say with a base constraint that returns the following two events 01-01-2019 01:00:00 type=VIEW_REQUEST duration=100 taskID=123456 01-01-2019 00:00:00 request=do_something count=5 taskID=123456 And I have a search built that was returning null results for taskID 123456 type and duration, but was returning the request and count fields, i.e. it was missing the fields from the VIEW_REQUEST event log. I ran the base search for the taskID 123456 and the fields are extracted properly and can be used without issue. To summarize, this search: ("VIEW_REQUEST" "duration") OR ("do_something" "count") taskID="123456" | stats values(type) as type values(request) as request values(duration) as duration values(count) as count by taskID returns type --------| request -----| duration | count | taskID VIEW_REQUEST | do_something | 100 -----| 5 ----| 123456 While this search (with """("VIEW_REQUEST" "duration") OR ("do_something" "count") taskID""" as the constraint for the datamodel): | tstats values(request.type) as type values(request.request) as request values(request.duration) as duration values(request.count) as count from datamodel=request by request.taskID returns type | request -----| duration | count | taskID NULL | do_something | NULL ----| 5 ----| 123456 The field extraction is working correctly for approximately 99.7% of all results, but there are 297 out of approximately 80,000 results where duration and type are null for some reason when searched via the data model, but the fields are extracted properly in the events that are returned by the base constraint. How do I fix this?

Viewing all articles
Browse latest Browse all 226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>