# Kibana not giving results when checking using \*, Also need help in Scripted field

**URL:** <https://discuss.elastic.co/t/kibana-not-giving-results-when-checking-using-also-need-help-in-scripted-field/252455>\
**Category:** Kibana\
**Created:** [October 18, 2020, 3:17pm UTC](https://discuss.elastic.co/t/kibana-not-giving-results-when-checking-using-also-need-help-in-scripted-field/252455 "2020-10-18T15:17:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![naveen\_wilson](https://avatars.discourse-cdn.com/v4/letter/n/ecc23a/32.png) [@naveen\_wilson](https://discuss.elastic.co/u/naveen_wilson)\
**Post date:** [October 18, 2020, 3:17pm UTC](https://discuss.elastic.co/t/kibana-not-giving-results-when-checking-using-also-need-help-in-scripted-field/252455/1 "2020-10-18T15:17:27Z")

</div>

Hi All,

I want to search for a sentence in Kibana. Please see below an Example.  
Actual Log : **Product 134563 is blocked in SAP**

When i search with "Product \* is blocked in SAP" in Kibana, Its not showing any result.

I am getting results when i search with  
message:"is blocked in SAP"

But not getting results when searching with  
message:"Product \* is blocked in SAP"

Can you help me with this request, what i am missing here.

Also I have one more requirement if possible, How can i create a scripted field to get only the product id in the above log.

Thanks in Advance!

---

<div class="post-metadata">

**Author:** ![AClerk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aclerk/32/55297_2.png) [@AClerk](https://discuss.elastic.co/u/AClerk)\
**Post date:** [October 19, 2020, 5:22am UTC](https://discuss.elastic.co/t/kibana-not-giving-results-when-checking-using-also-need-help-in-scripted-field/252455/2 "2020-10-19T05:22:47Z")

</div>

You can try extracting a number with either a regex, like in this example - [https://www.elastic.co/blog/using-painless-kibana-scripted-fields](https://www.elastic.co/blog/using-painless-kibana-scripted-fields)  
or split your string and extract the second array cell, like in this example - [Using painless script split(string) don't work](https://discuss.elastic.co/t/using-painless-script-split-string-dont-work/90215/4)

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:** [November 16, 2020, 5:22am UTC](https://discuss.elastic.co/t/kibana-not-giving-results-when-checking-using-also-need-help-in-scripted-field/252455/3 "2020-11-16T05:22:54Z")

</div>

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