Getting Data In

How to create an alert for password sharing across multiple countries for all logins across different hosts and applications with more than 60 indexes?

vellas78
New Member

I tried using this query:

index=* tag=authentication action=success OR action=failure

Initially to retrieve user logins from all the applications and devices but I think it will take more time and also the load and search time on the index will create performance issues. Kindly suggest some solution.

0 Karma
1 Solution

FrankVl
Ultra Champion

Sounds like a typical case to use an accelerated data model. In this case accelerating the CIM Authentication Data Model over the relevant set of indexes could be a solution worth trying.
http://docs.splunk.com/Documentation/CIM/4.10.0/User/Setup#Accelerating_CIM_data_models

That way, authentication events from all these indexes are checked periodically (depending on your acceleration settings) and the key fields are stored in data model summaries.

This would allow you to do an efficient tstats based query over the data in your accelerated data model, to for instance count the number of logins by _time, user, src and action and then apply further logic to that, to determine accounts being shared between systems that are in different locations.

View solution in original post

0 Karma

FrankVl
Ultra Champion

Sounds like a typical case to use an accelerated data model. In this case accelerating the CIM Authentication Data Model over the relevant set of indexes could be a solution worth trying.
http://docs.splunk.com/Documentation/CIM/4.10.0/User/Setup#Accelerating_CIM_data_models

That way, authentication events from all these indexes are checked periodically (depending on your acceleration settings) and the key fields are stored in data model summaries.

This would allow you to do an efficient tstats based query over the data in your accelerated data model, to for instance count the number of logins by _time, user, src and action and then apply further logic to that, to determine accounts being shared between systems that are in different locations.

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!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...