# \#transforms

**URL:** https://discuss.elastic.co/tag/transforms/68.md?match_all_tags=true&page=1&tags%5B%5D=transforms

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

**Page:** 2

---

## [What is the most (time-)efficient way to "join" two indexes in elasticsearch?](https://discuss.elastic.co/t/what-is-the-most-time-efficient-way-to-join-two-indexes-in-elasticsearch/358129)

<div class="topic-metadata">

**Author:** [@Knut\_Knackwurst](https://discuss.elastic.co/u/Knut_Knackwurst)\
**Replies:** 6\
**Last updated:** [April 29, 2024, 4:33pm UTC](https://discuss.elastic.co/t/what-is-the-most-time-efficient-way-to-join-two-indexes-in-elasticsearch/358129 "2024-04-29T16:33:42Z")

</div>

I have the following 2 SQL tables: Current table A: ID Data Status 1 Some Data open 2 Other Data open Historical Table B: ID Data 1 Some old Data 1 Some older Data 2 Other Data 2 Other older…

---

## [Elastic Latest Transform is not working if sync time and sort time is different](https://discuss.elastic.co/t/elastic-latest-transform-is-not-working-if-sync-time-and-sort-time-is-different/355001)

<div class="topic-metadata">

**Author:** [@shivaraj\_kv](https://discuss.elastic.co/u/shivaraj_kv)\
**Replies:** 6\
**Last updated:** [March 8, 2024, 1:44pm UTC](https://discuss.elastic.co/t/elastic-latest-transform-is-not-working-if-sync-time-and-sort-time-is-different/355001 "2024-03-08T13:44:19Z")

</div>

{ "id": "poc.transform", "version": "7.17.11", "create\_time": 1709818588566, "source": { "index": \[ "poc.test.source\*" \], "query": { "match\_all": {} } }, "dest": { "index": "po…

---

## [APM Integration Issue: Failed to Index traces](https://discuss.elastic.co/t/apm-integration-issue-failed-to-index-traces/354461)

<div class="topic-metadata">

**Author:** [@ramdas](https://discuss.elastic.co/u/ramdas)\
**Replies:** 0\
**Last updated:** [February 29, 2024, 3:40pm UTC](https://discuss.elastic.co/t/apm-integration-issue-failed-to-index-traces/354461 "2024-02-29T15:40:11Z")

</div>

Hi All, i am using apm server standalone to ingest traces from my application to Elasticsearch via opentelemetry collecor. i configured APM integration inside Kibana to point to my apm server and it works fine.i recentl…

---

## [The client noticed that the server is not Elasticsearch and we do not support this unknown product](https://discuss.elastic.co/t/the-client-noticed-that-the-server-is-not-elasticsearch-and-we-do-not-support-this-unknown-product/354046)

<div class="topic-metadata">

**Author:** [@jeet.mail72](https://discuss.elastic.co/u/jeet.mail72)\
**Replies:** 1\
**Last updated:** [February 25, 2024, 1:50pm UTC](https://discuss.elastic.co/t/the-client-noticed-that-the-server-is-not-elasticsearch-and-we-do-not-support-this-unknown-product/354046 "2024-02-25T13:50:37Z")

</div>

Hi All, I am using Elasticsearch with Python using Docker on the MacBook Pro and getting the following error. The index is created but still getting the exception. Print Logs: Creating Elastic Search connection. Elas…

---

## [Transforms - Latest and Pivot](https://discuss.elastic.co/t/transforms-latest-and-pivot/353925)

<div class="topic-metadata">

**Author:** [@erikg](https://discuss.elastic.co/u/erikg)\
**Replies:** 1\
**Last updated:** [February 23, 2024, 3:28am UTC](https://discuss.elastic.co/t/transforms-latest-and-pivot/353925 "2024-02-23T03:28:47Z")

</div>

Hello, I was wondering if its possible to do something like a combination of latest and pivot or maybe more understanding of what I can do with each. So use case: I have status field(keyword) reported for object field…

---

## [Transform is only partially updated](https://discuss.elastic.co/t/transform-is-only-partially-updated/351935)

<div class="topic-metadata">

**Author:** [@Doron\_Abramovich](https://discuss.elastic.co/u/Doron_Abramovich)\
**Replies:** 9\
**Last updated:** [January 31, 2024, 9:54am UTC](https://discuss.elastic.co/t/transform-is-only-partially-updated/351935 "2024-01-31T09:54:19Z")

</div>

Hi everyone, I have an transform that suppose to track the latest doc of some index. The transform I made is based on field called "etl\_id" and for some reason it is updated only for few "etl\_id" but not all of them, h…

---

## [Transformation 'pivot' has value null](https://discuss.elastic.co/t/transformation-pivot-has-value-null/351257)

<div class="topic-metadata">

**Author:** [@minova94](https://discuss.elastic.co/u/minova94)\
**Replies:** 7\
**Last updated:** [January 31, 2024, 9:19am UTC](https://discuss.elastic.co/t/transformation-pivot-has-value-null/351257 "2024-01-31T09:19:00Z")

</div>

Hello :wave: I have a question regarding transforms. There is source index which has dedicated transformation with grouping by 'pivot'. The pivot can be one field or concatenation of multiple fields. For ex: 'fullNa…

---

## [Term aggregation ordering within a pivot transform](https://discuss.elastic.co/t/term-aggregation-ordering-within-a-pivot-transform/351754)

<div class="topic-metadata">

**Author:** [@nicole.oresme](https://discuss.elastic.co/u/nicole.oresme)\
**Replies:** 4\
**Last updated:** [January 29, 2024, 9:12am UTC](https://discuss.elastic.co/t/term-aggregation-ordering-within-a-pivot-transform/351754 "2024-01-29T09:12:38Z")

</div>

I'm running a pivot transform in which I have a terms aggregation that I'm trying to order, roughly: "items": { "terms": { "field": "item\_id", "order": { "value": "desc" } }, …

---

## [Daily schedule transform from different indices](https://discuss.elastic.co/t/daily-schedule-transform-from-different-indices/351718)

<div class="topic-metadata">

**Author:** [@tmslara.a](https://discuss.elastic.co/u/tmslara.a)\
**Replies:** 2\
**Last updated:** [January 26, 2024, 7:13pm UTC](https://discuss.elastic.co/t/daily-schedule-transform-from-different-indices/351718 "2024-01-26T19:13:31Z")

</div>

Hello, We are currently ingesting data to an Elasticsearch cluster using Filebeat. We have configured Filebeat to create a new index every day, so the index template has the form index\_{+yyyymmdd}. We want to schedule …

---

## [\[Transforms\] How to add an aggregation field?](https://discuss.elastic.co/t/transforms-how-to-add-an-aggregation-field/350657)

<div class="topic-metadata">

**Author:** [@lizozom](https://discuss.elastic.co/u/lizozom)\
**Replies:** 3\
**Last updated:** [January 21, 2024, 11:34am UTC](https://discuss.elastic.co/t/transforms-how-to-add-an-aggregation-field/350657 "2024-01-21T11:34:40Z")

</div>

I'm using Transforms to pivot my log data for analytics. I want to add another aggregation to the transform (obviously only for future runs). I don't see this option in the UI neither in the API. Is it possible to add …

---

## [Return just some fields using Transform](https://discuss.elastic.co/t/return-just-some-fields-using-transform/350887)

<div class="topic-metadata">

**Author:** [@jcruz](https://discuss.elastic.co/u/jcruz)\
**Replies:** 7\
**Last updated:** [January 12, 2024, 7:24pm UTC](https://discuss.elastic.co/t/return-just-some-fields-using-transform/350887 "2024-01-12T19:24:41Z")

</div>

Hi there! I'm setting up a latest transform, and I would like to know if is it possible to return just some fields (from the original index) into the new transform index. I've tried to copy those needed fields and then …

---

## [Transform destination index rollover](https://discuss.elastic.co/t/transform-destination-index-rollover/350578)

<div class="topic-metadata">

**Author:** [@veryelastic](https://discuss.elastic.co/u/veryelastic)\
**Replies:** 2\
**Last updated:** [January 12, 2024, 9:25am UTC](https://discuss.elastic.co/t/transform-destination-index-rollover/350578 "2024-01-12T09:25:38Z")

</div>

Hello, It has been a while (I think) since this question came up on here, so I thought I'd check whether the answer had changed or not. I have a transform which produces consolidated data with a time-series element to …

---

## [Transform Preview fails with "Please provide a transform \[id\] or the config object"](https://discuss.elastic.co/t/transform-preview-fails-with-please-provide-a-transform-id-or-the-config-object/350730)

<div class="topic-metadata">

**Author:** [@Nightingale\_John](https://discuss.elastic.co/u/Nightingale_John)\
**Replies:** 3\
**Last updated:** [January 10, 2024, 10:59am UTC](https://discuss.elastic.co/t/transform-preview-fails-with-please-provide-a-transform-id-or-the-config-object/350730 "2024-01-10T10:59:33Z")

</div>

Hi All, I'm trying to get a transform working, my first one admittedly, but regardless of whether I do API or via browser setup it errors. An example transform preview: POST \_transform/\_preview { "source": { "ind…

---

## [Accessing fields in last\_doc scripted metric aggregation in a transform](https://discuss.elastic.co/t/accessing-fields-in-last-doc-scripted-metric-aggregation-in-a-transform/345403)

<div class="topic-metadata">

**Author:** [@Mark\_Duncan](https://discuss.elastic.co/u/Mark_Duncan)\
**Replies:** 5\
**Last updated:** [November 21, 2023, 4:12pm UTC](https://discuss.elastic.co/t/accessing-fields-in-last-doc-scripted-metric-aggregation-in-a-transform/345403 "2023-11-21T16:12:13Z")

</div>

If I have implemented this last\_doc scripted metric aggregation in a transform example, how could I access fields within the returned doc (let's imagine there is a field "price" in the last\_doc), in bucket script metric …

---

## [Anonymize part of string](https://discuss.elastic.co/t/anonymize-part-of-string/345631)

<div class="topic-metadata">

**Author:** [@ddoroshenko](https://discuss.elastic.co/u/ddoroshenko)\
**Replies:** 3\
**Last updated:** [October 26, 2023, 12:30pm UTC](https://discuss.elastic.co/t/anonymize-part-of-string/345631 "2023-10-26T12:30:56Z")

</div>

Hi, I have access logs which contains sensitive data \[2023-00-00T00:00:00.000\] ... "GET /example.com/foo/bar?password=SecretPassword&user=UserName" ... Is it possible to anonymize password value in that string?

---

## [Transforms: How to aggregate multiple events into one event based on shared field?](https://discuss.elastic.co/t/transforms-how-to-aggregate-multiple-events-into-one-event-based-on-shared-field/345055)

<div class="topic-metadata">

**Author:** [@mohsin106](https://discuss.elastic.co/u/mohsin106)\
**Replies:** 0\
**Last updated:** [October 15, 2023, 6:28pm UTC](https://discuss.elastic.co/t/transforms-how-to-aggregate-multiple-events-into-one-event-based-on-shared-field/345055 "2023-10-15T18:28:57Z")

</div>

Hi, I have the following events writing to the same index in ES: { "@timestamp": "2023-10-15T17:06:05.137039490Z", "ssn": null, "z4date": "1697207822", "criminalnotes": null, "reason": null, "notes": null, …

---

## [Transform checkpoints not optimized with date histogram](https://discuss.elastic.co/t/transform-checkpoints-not-optimized-with-date-histogram/343561)

<div class="topic-metadata">

**Author:** [@Imran\_Arshad](https://discuss.elastic.co/u/Imran_Arshad)\
**Replies:** 5\
**Last updated:** [September 25, 2023, 4:01pm UTC](https://discuss.elastic.co/t/transform-checkpoints-not-optimized-with-date-histogram/343561 "2023-09-25T16:01:20Z")

</div>

I am running a transform that groups by 2 fields: 1. terms on a keyword field (client\_id), 2. date histogram on a date field (transaction\_time). For sync, I am using a separate date field (updated\_at) that is basically t…

---

## [Understanding transform stats](https://discuss.elastic.co/t/understanding-transform-stats/343053)

<div class="topic-metadata">

**Author:** [@pulsy](https://discuss.elastic.co/u/pulsy)\
**Replies:** 4\
**Last updated:** [September 14, 2023, 6:22pm UTC](https://discuss.elastic.co/t/understanding-transform-stats/343053 "2023-09-14T18:22:59Z")

</div>

I am currently in the process of figuring out how to implement a transform on a quite large index. Especially the monitoring part of it is a bit puzzling for me. For example, the search\_time\_in\_ms on the transform curre…

---

## [Transforms from first principles](https://discuss.elastic.co/t/transforms-from-first-principles/340706)

<div class="topic-metadata">

**Author:** [@veryelastic](https://discuss.elastic.co/u/veryelastic)\
**Replies:** 1\
**Last updated:** [August 21, 2023, 3:36am UTC](https://discuss.elastic.co/t/transforms-from-first-principles/340706 "2023-08-21T03:36:36Z")

</div>

Hi, I've got an 8.8.1 cluster which is functioning well and ingesting data into a hot/warm architecture. I have a number of users with some pretty heavy dashboards and, to lighten the load on the cluster, I thought it …

---

## [Rollup vs Transform](https://discuss.elastic.co/t/rollup-vs-transform/340537)

<div class="topic-metadata">

**Author:** [@ajitesh](https://discuss.elastic.co/u/ajitesh)\
**Replies:** 1\
**Last updated:** [August 14, 2023, 3:23pm UTC](https://discuss.elastic.co/t/rollup-vs-transform/340537 "2023-08-14T15:23:09Z")

</div>

I have a use case where I have a nested aggregation query, now I want to ingest the data for all the aggregation results into a new index. I was going through the Elasticsearch documents and found out that Aggregation do…

---

## [Parse the values from aggregation results in watcher transform painless script](https://discuss.elastic.co/t/parse-the-values-from-aggregation-results-in-watcher-transform-painless-script/340485)

<div class="topic-metadata">

**Author:** [@Pavani\_Reddy](https://discuss.elastic.co/u/Pavani_Reddy)\
**Replies:** 0\
**Last updated:** [August 9, 2023, 5:51pm UTC](https://discuss.elastic.co/t/parse-the-values-from-aggregation-results-in-watcher-transform-painless-script/340485 "2023-08-09T17:51:14Z")

</div>

Hello @Badger , @magnusbaeck Please help on painless script for parsing the timestamp and compare with now-1h. ''' "aggs": { "by\_index": { "terms": { "field": "\_index" }, "aggs": { "by\_timestamp": { "max": { "…

---

## [KIBANA and ELASTICSEARCH 8.9X not working either SELFSIGNED or Custom SSL certs over WebBrowser](https://discuss.elastic.co/t/kibana-and-elasticsearch-8-9x-not-working-either-selfsigned-or-custom-ssl-certs-over-webbrowser/340229)

<div class="topic-metadata">

**Author:** [@Penchala\_Abhilash\_Mu](https://discuss.elastic.co/u/Penchala_Abhilash_Mu)\
**Replies:** 0\
**Last updated:** [August 7, 2023, 6:54am UTC](https://discuss.elastic.co/t/kibana-and-elasticsearch-8-9x-not-working-either-selfsigned-or-custom-ssl-certs-over-webbrowser/340229 "2023-08-07T06:54:49Z")

</div>

Hi Team we were implemented Elasticsearch and KIBANA 8.9 over Single UBUNTU 20.4 VM. The service runs internally (locally over VM) but unable to resolved over WEB BROWSER unable to execute /resolve the domain. Tested Be…

---

## [Combine data older then x days](https://discuss.elastic.co/t/combine-data-older-then-x-days/339804)

<div class="topic-metadata">

**Author:** [@Soren\_vdc](https://discuss.elastic.co/u/Soren_vdc)\
**Replies:** 0\
**Last updated:** [August 1, 2023, 1:53pm UTC](https://discuss.elastic.co/t/combine-data-older-then-x-days/339804 "2023-08-01T13:53:18Z")

</div>

Hi, I want to combine network data (based on scr/dst/port) to an aggregated index after 20 days. This to decrease the disk usage of this indices but still have the combined data available for specific searches. I'm che…

---

## [Transform nicing](https://discuss.elastic.co/t/transform-nicing/337277)

<div class="topic-metadata">

**Author:** [@ddolcimascolo](https://discuss.elastic.co/u/ddolcimascolo)\
**Replies:** 2\
**Last updated:** [July 3, 2023, 7:48am UTC](https://discuss.elastic.co/t/transform-nicing/337277 "2023-07-03T07:48:27Z")

</div>

Hi guys, We make use of transforms extensively in a production cluster (6 nodes of 20 CPU 32GB RAM, all nodes have all roles) with approximatively 250 transforms running in continuous mode. Some transforms have a freque…

---

## [Enrich vs Transform with 2 source indices](https://discuss.elastic.co/t/enrich-vs-transform-with-2-source-indices/336344)

<div class="topic-metadata">

**Author:** [@Marchelune](https://discuss.elastic.co/u/Marchelune)\
**Replies:** 2\
**Last updated:** [June 26, 2023, 11:17pm UTC](https://discuss.elastic.co/t/enrich-vs-transform-with-2-source-indices/336344 "2023-06-26T23:17:05Z")

</div>

Hi! I am faced with a situation where I am not sure whether an enrich processor or a transform should be used. In my situation, I have sensors sending events in batch to Elastic. Each sensor has a sensor\_key and the eve…

---

## [Transforms group by on 2 different data fields having same value](https://discuss.elastic.co/t/transforms-group-by-on-2-different-data-fields-having-same-value/336478)

<div class="topic-metadata">

**Author:** [@ashwani\_perf](https://discuss.elastic.co/u/ashwani_perf)\
**Replies:** 2\
**Last updated:** [June 20, 2023, 1:34pm UTC](https://discuss.elastic.co/t/transforms-group-by-on-2-different-data-fields-having-same-value/336478 "2023-06-20T13:34:43Z")

</div>

Hi Team, I am fairly new to Kibana and have run into a problem. I am trying to write a single transform which captures ingress and egress of a single event so that i can aggregate them by timestamp max and min and then …

---

## [Transform + Enrichment Policy](https://discuss.elastic.co/t/transform-enrichment-policy/334878)

<div class="topic-metadata">

**Author:** [@emi\_rose](https://discuss.elastic.co/u/emi_rose)\
**Replies:** 12\
**Last updated:** [June 18, 2023, 5:13pm UTC](https://discuss.elastic.co/t/transform-enrichment-policy/334878 "2023-06-18T17:13:47Z")

</div>

Hello, I had the idea to use the target index of a sum aggregation transform as the same target index for an enrichment policy. Essentially, I want to perform a join on the field being grouped on in the transform and en…

---

## [I am getting CDC data from Transaction tables from MYSQL DB to Elastic search , How Can I see latest status of transactions?](https://discuss.elastic.co/t/i-am-getting-cdc-data-from-transaction-tables-from-mysql-db-to-elastic-search-how-can-i-see-latest-status-of-transactions/334902)

<div class="topic-metadata">

**Author:** [@nitinkapoor](https://discuss.elastic.co/u/nitinkapoor)\
**Replies:** 4\
**Last updated:** [June 5, 2023, 8:01am UTC](https://discuss.elastic.co/t/i-am-getting-cdc-data-from-transaction-tables-from-mysql-db-to-elastic-search-how-can-i-see-latest-status-of-transactions/334902 "2023-06-05T08:01:20Z")

</div>

I am getting CDC data from Transaction tables from MYSQL DB to Elastic search , How Can I see latest status of transactions ? Should I use Transforms ?

---

## ["sync" command in Transform API](https://discuss.elastic.co/t/sync-command-in-transform-api/328960)

<div class="topic-metadata">

**Author:** [@SEUNGHYO](https://discuss.elastic.co/u/SEUNGHYO)\
**Replies:** 6\
**Last updated:** [April 27, 2023, 7:52am UTC](https://discuss.elastic.co/t/sync-command-in-transform-api/328960 "2023-04-27T07:52:28Z")

</div>

When a new document is indexed I want to implement a transform instance in which the transform index (dest) is updated every period of "frequency". This is the query I executed. PUT \_transform/test\_transform\_instance …

---

## [Trying to transform data from one index to another by applying pipeline in transform,But pipeline is executing only first half of it till Android filter](https://discuss.elastic.co/t/trying-to-transform-data-from-one-index-to-another-by-applying-pipeline-in-transform-but-pipeline-is-executing-only-first-half-of-it-till-android-filter/330721)

<div class="topic-metadata">

**Author:** [@Chinmay\_Bhusate](https://discuss.elastic.co/u/Chinmay_Bhusate)\
**Replies:** 3\
**Last updated:** [April 26, 2023, 5:35am UTC](https://discuss.elastic.co/t/trying-to-transform-data-from-one-index-to-another-by-applying-pipeline-in-transform-but-pipeline-is-executing-only-first-half-of-it-till-android-filter/330721 "2023-04-26T05:35:14Z")

</div>

Sharing my transform alongwith Pipeline. Transform POST \_transform/\_preview { "source": { "index": \[ "events.test" \] }, "pivot": { "group\_by": { "session\_id": { "terms": { …

[Previous page](https://discuss.elastic.co/tag/transforms/68.md?match_all_tags=true&tags%5B%5D=transforms)

[Next page](https://discuss.elastic.co/tag/transforms/68.md?match_all_tags=true&page=2&tags%5B%5D=transforms)
