# Create specific Field

**URL:** <https://discuss.elastic.co/t/create-specific-field/204509>\
**Category:** Kibana\
**Created:** [October 21, 2019, 3:00pm UTC](https://discuss.elastic.co/t/create-specific-field/204509 "2019-10-21T15:00:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gugonzaleza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gugonzaleza/32/77536_2.png) [@gugonzaleza](https://discuss.elastic.co/u/gugonzaleza)\
**Post date:** [October 21, 2019, 3:00pm UTC](https://discuss.elastic.co/t/create-specific-field/204509/1 "2019-10-21T15:00:37Z")

</div>

Hello!

We are working with Uipath and we would like to show in our visualization Dashboards some information which doesn't suit with any created field.

In our logs we have the following info:

"---KIBANA---Answer timing: "+differencetime.ToString

I want that my variable differencetime will be a number. How may I create a new field which stocks that info?

Thanks!

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [October 22, 2019, 2:17pm UTC](https://discuss.elastic.co/t/create-specific-field/204509/2 "2019-10-22T14:17:14Z")

</div>

For log data like this, it is best to apply any processing while you are ingesting the logs, before you visualize. You can do this with Elasticsearch [ingest pipelines](https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest.html) or [Logstash](https://www.elastic.co/guide/en/logstash/current/index.html).

If you can't modify the data in your index, then you should create a scripted field in Kibana. This will be significantly slower and less capable than processing the data during ingestion.

---

<div class="post-metadata">

**Author:** ![gugonzaleza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gugonzaleza/32/77536_2.png) [@gugonzaleza](https://discuss.elastic.co/u/gugonzaleza)\
**Post date:** [October 23, 2019, 9:58am UTC](https://discuss.elastic.co/t/create-specific-field/204509/3 "2019-10-23T09:58:58Z")

</div>

Do you know of any Uipath activities which I may use to ingest some variable to logs? Nowdays, I write log message where I can use and visualize on discover menu.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/0/300f4055d4f6634b55e21f06ed3d166ec6dc8b42.png)

The problem that I have is that I would like to treat read lines numbers ad a number variable to make the average. Nevertheless I have a string on the log message as well.

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [October 23, 2019, 5:29pm UTC](https://discuss.elastic.co/t/create-specific-field/204509/4 "2019-10-23T17:29:24Z")

</div>

You need to do the data processing before it gets to Elasticsearch, using one of the options I mentioned before. If you have issues setting that up, you can feel free to use the Elasticsearch forum to ask about your ingestion pipeline.

---

<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 20, 2019, 5:29pm UTC](https://discuss.elastic.co/t/create-specific-field/204509/5 "2019-11-20T17:29:31Z")

</div>

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