Knowledge Management

How to search and compare the same data across multiple KV stores?

dteo827
Explorer

Greetings Splunk Answers,
I have 4 CSV's containing similar data (usernames, first/last names, job roles) all of which I have imported into individual KV Stores (and separate collections).
I need to search a username and see if it is any/all of the KV Stores.

Does anyone have experience searching across multiple KV Stores for the same data?

Cheers!

0 Karma
1 Solution

renjith_nair
Legend

Try

| inputlookup kv1 | inputlookup append=t kv2 | inputlookup append=t kv3 | inputlookup append=t kv4|search username=<username_to_search>

http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Inputlookup

Happy Splunking!

View solution in original post

renjith_nair
Legend

Try

| inputlookup kv1 | inputlookup append=t kv2 | inputlookup append=t kv3 | inputlookup append=t kv4|search username=<username_to_search>

http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Inputlookup

Happy Splunking!

dteo827
Explorer

Many thanks, I somehow missed that in the documentation.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...