# Critical warning about use of inline in scripts, but I can't find where

**URL:** <https://discuss.elastic.co/t/critical-warning-about-use-of-inline-in-scripts-but-i-cant-find-where/357270>\
**Category:** Elasticsearch\
**Created:** [April 12, 2024, 10:03am UTC](https://discuss.elastic.co/t/critical-warning-about-use-of-inline-in-scripts-but-i-cant-find-where/357270 "2024-04-12T10:03:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yawo](https://avatars.discourse-cdn.com/v4/letter/y/ac91a4/32.png) [@yawo](https://discuss.elastic.co/u/yawo)\
**Post date:** [April 12, 2024, 10:03am UTC](https://discuss.elastic.co/t/critical-warning-about-use-of-inline-in-scripts-but-i-cant-find-where/357270/1 "2024-04-12T10:03:41Z")

</div>

Hello,  
I am using elastic/helm\_charts to deploy ELK stack on kubernetes.

I've been trying to upgrade from version 7.17.8 to version 8.5.3 by fixing this kibana critical warning I get in my elasticsearch logs:

{"type": "deprecation.elasticsearch", "timestamp": "2024-03-20T06:02:09,482Z", "level": "CRITICAL", "component": "o.e.d.x.ParseField", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-1", "message": "[script][1:713] Deprecated field [inline] used, expected [source] instead", "key": "deprecated\_field\_inline", "category": "api", "cluster.uuid": "2NG7yIwKDLSedsotcCLONong", "node.id": "ndvpeH4tSBe5fEV3DFlFEQ" }

But despite checking in all my watchers,  
I can't see any mention of the inline keyword.

I don't have any script stored.

And none of my logstash scripts use the inline keyword either.

Is there some other places I am forgetting about?
