All Apps and Add-ons

How do I make Splunk for Fortigate find data in a specific index where i have my fortigate data?


I can't get splunk for fortigate to use the index where my fortigate data are placed.
When i put index=fortigate before every search the results are comming up perfectly.

my input look like this:
index = fortigate
sourcetype = fortigate
no_ appending_timestamp = true

just to clarify that my data are in index fortigate

Splunk Employee
Splunk Employee

You can also check in the App, the eventtypes.conf. You can add the specific index to each eventtype's search. That should quickly fix the issue. Make sure your sourcetype names match what the app is looking for also. Make sure any changes you make, that you put in the local/eventtypes.conf, and dont change the default. (This will keep the changes when you upgrade..)

On a side note, making sure the index is globally searchable is the recommended..

0 Karma

New Member

In my recent experience I wanted to do exactly what you described. This is a summary of what I did...

  1. create index fortios5
  2. update data inputs udp and set the destination index for this source to fortios5
  3. copy default/macros.summary to local folder and rename to macros.conf
  4. update local/macros.conf section Base Macros definition = index=fortios5 ...
    Based on some info I found here:

  5. Also because some dashboards were timing out I needed to update etc/system/local/web.conf to include this setting:
    splunkdConnectionTimeout = 120

  6. Restart Splunk

  7. Enjoy

0 Karma

Splunk Employee
Splunk Employee

go to manager > access control > roles and make the index "fortigate" searchable and searched by default for the users of the fortigate app.

0 Karma


Yes, but why is it not nessesery to do this if you are working with splunk for ad or exchange? Also with different indexes and not granted rights in roles.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...