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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...