Splunk Search

URLs by host

waJesu
Path Finder

I need a query that lists URLs a particular host has reached out in a particular time e.g in the last 24 hours. Please help

Labels (1)
Tags (2)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @waJesu ,

if host is the host sending the logs and url is a fied in your logs, youcould run something like this:

index=your_index sourcetype=your_sourcetype earliest=-24h latest=now host=your_host
| stats count BY URL

obviously this search depends on the extracted fields.

Ciao.

Giuseppe

0 Karma

waJesu
Path Finder

Thank you for your prompt response and help. Logs are coming from other sources e.g firewall. Maybe I should have used hostname/computername that is reaching out to those URLs

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @waJesu ,

exactly define your requirement and match it to your fields, then it's easy to use commands.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...