Splunk Search

Additional search based off original search

willadams
Contributor

I have a search similar to the following

 

(Index=myindex) or (index=otherindex)

| eval user=coalesce(accountname, id)

| mvexpand user

| stats values(field1) as field1, values(field2) as field2 by user

 

This gives me my results that I want but I want to now take the results of this to enrich information from the output by pulling other events from another index.  This will then generate an alert so nit being done pin a dashboard.

 

I could schedule a report and then reference something like a lookup table that wpuld probably work but I am trying to make it a bit more dynamic. I would like to maybe use the result from this and enrich with an ldap query but I dont think I can do that. Join is out of the question (limitations etc.) and I cant coalesce any further with other fields as they are in no way similar of even available.

 

Thoughts and thanks in advance.

Labels (3)
0 Karma

ryanoconnor
Builder

Have you looked into this app? https://splunkbase.splunk.com/app/1852/

This should allow you to pipe your results into an ldapsearch to enrich your results. 

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!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...