Deployment Architecture

How can I run a local search on my deployment server and make the results accessible for search?

quihong
Path Finder

Hello,

I have a query that needs to run locally on the deployment server, but I want the results accessible on my search head cluster.

For instance, on the Deployment Server:
|rest /services/deployment/server/clients count=0 splunk_server=local
|fields hostname name ip dns utsname
|outputlookup deployment_clients.csv

And now on a member of my search head cluster I want to run and get the results back:
|inputlookup deployment_clients

Can someone point me in the right direction on how to accomplish this? Thank you.

0 Karma

DalJeanis
Legend

One way is @somesoni2's suggestion to collect to a summary index, subject to the limitation that you are currently sending all index data from the deployment server to the indexers.

A second way, if the above limitation is not in place, would be to have your search trigger a script to copy the output csv file to a destination on your search head and pick it up there.

0 Karma

somesoni2
Revered Legend

AFAIK, there is no native way available to share a lookup table between two, non-clustered instances. If you send all indexes data from Deployment server to your indexers, my suggestion would to summary index result of your query on Deployment server (instead of saving it as lookup), so the data will go to indexer and will be available in your search heads. If you need you can then build the lookup table (periodically) from summary index on your search head.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.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 ...