# Kibana reporting download Intercept part of the string

**URL:** <https://discuss.elastic.co/t/kibana-reporting-download-intercept-part-of-the-string/289894>\
**Category:** Kibana\
**Created:** [November 23, 2021, 3:09am UTC](https://discuss.elastic.co/t/kibana-reporting-download-intercept-part-of-the-string/289894 "2021-11-23T03:09:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![qixian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qixian/32/97437_2.png) [@qixian](https://discuss.elastic.co/u/qixian)\
**Post date:** [November 23, 2021, 3:09am UTC](https://discuss.elastic.co/t/kibana-reporting-download-intercept-part-of-the-string/289894/1 "2021-11-23T03:09:29Z")

</div>

I want to download report as csv,but I have a big field which is text,and i want to download as many rows as possible，so i want to konw how can i do，if i don't update the xpack.reporting.csv.maxSizeBytes param because which method is to need reboot kibana,I just want have a function to Intercept part of the string field but I can't find it according kibana,I try to use script\_field but which is not fit for text field and i want to search the text field so i can‘t update it's fielddata attribute as ture.

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [December 2, 2021, 9:15pm UTC](https://discuss.elastic.co/t/kibana-reporting-download-intercept-part-of-the-string/289894/2 "2021-12-02T21:15:23Z")

</div>

I would suggest have a multi-field mapping on the big field, so there is a Text field and a Keyword field available.

```auto
        "big_field": {
          "type": "text",
          "fields": {
            "raw": {
              "type": "keyword"
            }
          }
        }

```

Then make a runtime field that emits a truncated value of the keyword field.

---

<div class="post-metadata">

**Author:** ![qixian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qixian/32/97437_2.png) [@qixian](https://discuss.elastic.co/u/qixian)\
**Post date:** [December 3, 2021, 3:36am UTC](https://discuss.elastic.co/t/kibana-reporting-download-intercept-part-of-the-string/289894/3 "2021-12-03T03:36:49Z")

</div>

ok,I will have a try,thanks

---

<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:** [December 31, 2021, 3:37am UTC](https://discuss.elastic.co/t/kibana-reporting-download-intercept-part-of-the-string/289894/4 "2021-12-31T03:37:49Z")

</div>

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