Splunk Search

Issue in csv lookup while summarization

keerthana_k
Communicator

Hi,

We have scheduled saved search running every 5 minutes to create summary index.

In our test setup we get 200 log events every 5 minutes. The log events contain ServerIP field. We do a CSV lookup to get meaningful name for the server IP.

Our summarization query looks like this:

First part of the query | stats …… by _time, ServerIP, ….| lookup for ServerName | other fields.

When we verified the data in summarized index, there are some null values for the ServerName field. For the same ServerIP the lookup is successful at times and failing at other times.

Additional Information:

The CSV file has 50 entries
The IP addresses for which we do lookup are in positions 24 and 30.

Tags (2)
0 Karma
1 Solution

keerthana_k
Communicator

The problem was that the CSV file was up to date in one indexer and not updated in the other one. Hence the lookup was failing half the time.

View solution in original post

0 Karma

keerthana_k
Communicator

The problem was that the CSV file was up to date in one indexer and not updated in the other one. Hence the lookup was failing half the time.

0 Karma
Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...