# Is there a way to correlate FortiGate logs?

**URL:** <https://discuss.elastic.co/t/is-there-a-way-to-correlate-fortigate-logs/380143>\
**Category:** SIEM\
**Created:** [July 15, 2025, 5:22pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-correlate-fortigate-logs/380143 "2025-07-15T17:22:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![meatwad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/meatwad/32/36031_2.png) [@meatwad](https://discuss.elastic.co/u/meatwad)\
**Post date:** [July 15, 2025, 5:22pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-correlate-fortigate-logs/380143/1 "2025-07-15T17:22:37Z")

</div>

Hi there,

I'm ingesting logs from our Fortinet FortiGate VPN server and was wondering if there's a way to correlate login sessions.

The issue I'm trying to solve for is that the logs that show a successful login don't include the source.geo.country\_name field and the logs that do have that field don't have any user related data.

There's a fortinet.firewall.sessionid field but it doesn't correlate the actual login session. For example, this is from one of my recent logins:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/a/fa39ddb7b1a35ed59272e82eceec2bda006aeecb.png)

And the fortinet.firewall.sessionid field isn't even present in the logs that the successful logins:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/9/699e09aa0be117b9000643b06eb65e093e7d14c0.png)

If anyone has any suggestions, I'd love to know!

Thank you!

---

<div class="post-metadata">

**Author:** ![dot-mike](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dot-mike/32/143339_2.png) [@dot-mike](https://discuss.elastic.co/u/dot-mike)\
**Post date:** [July 20, 2025, 10:39pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-correlate-fortigate-logs/380143/2 "2025-07-20T22:39:00Z")

</div>

Check my post [Best practice for adding additional fields to transform](https://discuss.elastic.co/t/best-practice-for-adding-additional-fields-to-transform/379665) and try creating a transformation. It duplicate the VPN sessions to a new index with start & stop time...

---

<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:** [August 17, 2025, 10:39pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-correlate-fortigate-logs/380143/3 "2025-08-17T22:39:48Z")

</div>

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