All Apps and Add-ons

Adding xauthuser to datamodel

jairjr
Path Finder

I tried to add the xauthuser field to the data model ftnt_fos and after that I get no results any more. Did I break it?

The xauthuser field carries the username that connected to the firewall using an ipsec tunnel, it's a critical field for the vpn dashboard.

0 Karma

jairjr
Path Finder

In the Splunk web ui I went to Settings/Datamodels, then opened the "Fortinet FOS Log" datamodel:

  • I disabled acceleration otherwise it does not allow me to edit the datamodel
  • In the "Firewall Logs" item I added a new extracted field named xauthuser with type string.
  • Enabled acceleration again.

Now when I go to any Fortigate pre-built dashboard I get "No results".

0 Karma

jerryzhao
Contributor

what's the datamodel acceleration progress?

0 Karma

jairjr
Path Finder

93%, now the dashboards are working. I think I just didn't wait enough, thank you for your help.

0 Karma

jerryzhao
Contributor

what file are you changing? the datamodel should be defined in SplunkAppForFortinet/default/data/models/ftnt_fos.json
what are your changes? please paste it here.
which dashboard query on vpn are you adding/customizing?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...