# Serial Diff Throws Bad Request Error on adding lag option

**URL:** <https://discuss.elastic.co/t/serial-diff-throws-bad-request-error-on-adding-lag-option/236672>\
**Category:** Kibana\
**Created:** [June 11, 2020, 10:11am UTC](https://discuss.elastic.co/t/serial-diff-throws-bad-request-error-on-adding-lag-option/236672 "2020-06-11T10:11:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![muthucse](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/muthucse/32/45217_2.png) [@muthucse](https://discuss.elastic.co/u/muthucse)\
**Post date:** [June 11, 2020, 10:11am UTC](https://discuss.elastic.co/t/serial-diff-throws-bad-request-error-on-adding-lag-option/236672/1 "2020-06-11T10:11:54Z")

</div>

Trying to add { "lag":7 } in Advanced JSON but it throws error as Bad Request ?  
Elastic version 7.7

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [June 12, 2020, 1:15pm UTC](https://discuss.elastic.co/t/serial-diff-throws-bad-request-error-on-adding-lag-option/236672/2 "2020-06-12T13:15:43Z")

</div>

I think you have just hit a regression bug, let me open a GH issue for you and I will be back

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [June 12, 2020, 2:12pm UTC](https://discuss.elastic.co/t/serial-diff-throws-bad-request-error-on-adding-lag-option/236672/3 "2020-06-12T14:12:42Z")

</div>

Ok here is the GH issue, sorry about that, I hope this will be solved soon

> <https://github.com/elastic/kibana/issues/69014>
>
> Kibana version:
> master, 7.7
> Describe the bug:
> When using pipeline aggregation, the Advanced JSON field is only shown on the child aggregation, not on...

---

<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:** [July 10, 2020, 2:12pm UTC](https://discuss.elastic.co/t/serial-diff-throws-bad-request-error-on-adding-lag-option/236672/4 "2020-07-10T14:12:58Z")

</div>

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