Splunk Search

Alert if Fortigate and Clearpass events match

nielsg97
Engager

HI,

i've two datasources. Clearpass and Fortigate. I want to trigger an alarm if the Fortigate log contains Virus and Clearpass contains android. Is it possible in splunk to match those two based on src IP.

0 Karma
1 Solution

aakwah
Builder
(index=security sourcetype=fortigate) OR (index=security sourcetype=clearpass) 
| transaction src_ip keepevicted=true maxspan=30s
| search dvc=Android AND alert=virus 

View solution in original post

aakwah
Builder
(index=security sourcetype=fortigate) OR (index=security sourcetype=clearpass) 
| transaction src_ip keepevicted=true maxspan=30s
| search dvc=Android AND alert=virus 

nielsg97
Engager

Thanks helps a lot. but how to match src_ip if names are differtent in both events. in Fortigate its "src_ip" but in Clearpass its ip_address

0 Karma

aakwah
Builder

In similar use case, I created an alias for this field in props.conf under sourcetype stanza

[Clearpass sourcetype]

FIELDALIAS-ip_address =  ip_address as src_ip
0 Karma

splunker12er
Motivator

*|rename ip_address as src_ip |transaction.....

splunker12er
Motivator

try Fortinet FortiGate App for Splunk : link : https://splunkbase.splunk.com/app/2800/
add-on : https://splunkbase.splunk.com/app/2846/

docs: https://www.fortinet.com/content/dam/fortinet/assets/alliances/SolutionBrief-Fortinet-Splunk.pdf

The App can absorb a high volume of elevated logs in real time and provide insights to
examine advanced threat intent, widespread backdoor viruses, and unexpected information
flows in a single pane of glass, enabling quick visualization of everything that’s happening in
your datacenter and cloud.

clearpass splunk app link : https://splunkbase.splunk.com/app/1895/
Aruba ClearPass App for Splunk Enterprise

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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...