Splunk Search

How do I join these two searches to get OS type?

Sampathu
Explorer

Hi,

When I run the searches below separately, they give me exact result, but when I tried joining them, it was not successful. Is there any way of joining them efficiently? Below are the searches and condition host=hostname.

| metadata type=hosts| sort -recentTime| convert ctime(recentTime) as Last_Report_Time

index=_internal fwdType="*"|dedup sourceHost| table sourceHost, hostname, os
Tags (3)
0 Karma

MuS
Legend

Hi Sampathu,

what's your intension to do so - do you want to find forwarder not sending and create an alert?

If so don't re-invent the wheel - either use this app https://splunkbase.splunk.com/app/1294/#/overview if your pre Splunk 6.2 or run DMC http://docs.splunk.com/Documentation/Splunk/6.3.0/DMC/DMCoverview

Both have plenty of pre-build alerts to handle this.

Hope this helps ...

cheers, MuS

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...