# Context Table?

**URL:** <https://discuss.elastic.co/t/context-table/321597>\
**Category:** Kibana\
**Created:** [December 19, 2022, 8:15pm UTC](https://discuss.elastic.co/t/context-table/321597 "2022-12-19T20:15:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidbeiler](https://avatars.discourse-cdn.com/v4/letter/d/7feea3/32.png) [@davidbeiler](https://discuss.elastic.co/u/davidbeiler)\
**Post date:** [December 19, 2022, 8:15pm UTC](https://discuss.elastic.co/t/context-table/321597/1 "2022-12-19T20:15:24Z")

</div>

Hi,

Is it possible to add in a context table? I am using exabeam, but couldnt find anything, but i believe it uses the elkstack in the backend

this is what i have currently

```auto

   query = {
        "size": 0,
        "query": {
            "bool": {
                "must": [
                    {
                        "query_string": {
                            "analyze_wildcard": True,
                            "default_field": "message",
                            "query": 'exa_category:"Security Alerts" AND Vendor:"Palo Alto Networks"', # noqa: E501
                        }
                    },
                    {
                        "range": {
                            "@timestamp": {
                                "gte": start_date,
                                "lte": end_date,
                                "time_zone": LOCAL_UTC_OFF_SET,
                            }
                        }
                    },
                ],
                "must_not": [],
            }
        },
        "aggs": {
            "2": {
                "date_histogram": {
                    "field": "@timestamp",
                    "interval": "1d",
                    "time_zone": "America/Los_Angeles",
                    "min_doc_count": 1,
                },
                "aggs": {
                    "3": {
                        "terms": {
                            "field": "alert_type.keyword",
                            "size": 10,
                            "shard_size": 5000,
                            "order": {"_count": "desc"},
                                   
 
                        }
                    }
                },
            }
        },
    }

```

---

<div class="post-metadata">

**Author:** ![drewdaemon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/drewdaemon/32/97779_2.png) [@drewdaemon](https://discuss.elastic.co/u/drewdaemon)\
**Post date:** [December 20, 2022, 5:39pm UTC](https://discuss.elastic.co/t/context-table/321597/2 "2022-12-20T17:39:02Z")

</div>

> [@davidbeiler](#):
>
> Is it possible to add in a context table?

Hi @davidbeiler . I'm not sure I understand what you're trying to do. Can you provide more details on what a "context table" is?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 17, 2023, 5:39pm UTC](https://discuss.elastic.co/t/context-table/321597/3 "2023-01-17T17:39:37Z")

</div>

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