Splunk Search

Search only spesific country

gijoesplunk
New Member

Hi I'm new in splunk.I have a firewall that send the log to splunk , and one of the information provide in the firewall log is country. And i want to search in splunk and came out the result for only all eastern europe country or all africa country without having to list one by one all the country, is it possible to do that?

Tags (1)
0 Karma

sundareshr
Legend

You will have to create a lookup table that has the mapping between country and continent/sub continent. You can then create a automatic lookup to add continent info to your events and use that to search.

http://docs.splunk.com/Documentation/Splunk/6.4.3/SearchReference/Lookup

OR

You can create/maintain tags

https://docs.splunk.com/Documentation/Splunk/6.4.3/Knowledge/Abouttagsandaliases

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!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...