# Logstash to influxdb2 aggregate datapoints issue

**URL:** <https://discuss.elastic.co/t/logstash-to-influxdb2-aggregate-datapoints-issue/347809>\
**Category:** Logstash\
**Created:** [November 23, 2023, 4:14am UTC](https://discuss.elastic.co/t/logstash-to-influxdb2-aggregate-datapoints-issue/347809 "2023-11-23T04:14:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Indeed2000](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@Indeed2000](https://discuss.elastic.co/u/Indeed2000)\
**Post date:** [November 23, 2023, 4:14am UTC](https://discuss.elastic.co/t/logstash-to-influxdb2-aggregate-datapoints-issue/347809/1 "2023-11-23T04:14:32Z")

</div>

Hi  
I have lots of log lines like this in exact same time, when i try to use logstash to pars and send to influxdb2, influx or ligstash aggregates some lines!  
e.g here is the sample lines that aggregate is I[847676]

2023-11-20 14:05:49:787 INFO T[SHR1I7783] APP R[GW] I[675940] U[461301]  
2023-11-20 14:05:49:787 INFO T[SHR5I7787] APP R[GW] I[847676] U[432408]  
2023-11-20 14:05:49:787 INFO T[SHR5I7787] APP R[GW] I[847676] U[935351]  
2023-11-20 14:05:49:787 INFO T[SHR5I7787] APP R[GW] I[847676] U[533755]  
2023-11-20 14:05:49:787 INFO T[SHR0I7782] APP R[GW] I[50888] U[600770]  
2023-11-20 14:05:49:787 INFO T[SHR5I7787] APP S[GW] I[847676] U[432409]

1-I try to set I as field but still aggregate them.  
2-try to set I as tag, it work but it will produce performance issue due high cardinality.  
3-try to use uid, for each even still aggregate them.  
4-U is quietly unique field, i try to use that but still aggregate datapoints.

FYI1: don’t want use metric because it is important to group by T,I,R,S  
FYI2: R means received, S means send

Any idea?  
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:** [December 21, 2023, 4:14am UTC](https://discuss.elastic.co/t/logstash-to-influxdb2-aggregate-datapoints-issue/347809/2 "2023-12-21T04:14:47Z")

</div>

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