OpenPipeline summarization

How to summarize/aggregate in OpenPipeline

this

```

| summarize accessed_objects_count=sum(arr_size)

```

nor

```

| expand accessed_objects_array
| summarize accessed_objects_count=count()
```

is allowed, so how to summarize/count,

I haven’t found any summarization command/function in the documentation:

Can someone provide me with some examples, please?

Hey @_r_k_

What are you trying to achieve with summarization? If you’re looking to get a count over time, would turning it into a metric work?

would you be so kind and provide me with example of self contained openpieline solution containing such aggregation/summarization metric (where attribute can’t be directly used, but needs preprocesing first)?

If you are looking for across multiple log line/event summarization, use of metrics suggestion is correct one. Here is step-by-step example of metric extraction in OpenPipeline: Parse log lines and extract a metric — Dynatrace Docs

If you want to count number of elements in arrays associated with different ingested objects, first you need to create filed holding array size for single record:

| fieldsAdd accessed_objects_count=arraySize(accessed_objects_array)

and then use this field as input to metric calculation

yeah, ended up doing exactly this, so…

so we are preparing data in openpipeline and summarization is done outside, no problem, but took a while to realize it