Splunk Search

Problem in Splunk for DNS

sdsajjadi
New Member

I installed splunk 4.2.3 and I want to monitor statistics of BIND 9.7.2 (DNS) queries through it. I used SPLUNK FOR BIND application and installed it in splunk panel, but in dashboard I can't see any graph and splunk shows me this (in more info link):

search sourcetype=named eventtype=named_event host="" named_query_type="" | timechart count by host usenull="f" useother="f" 

It seems that splunk can't find BIND log files and events.
I made a props.conf file and put it in /opt/splunk/etc/apps/named/local. its content is:

[named]
pulldown_type = true
maxDist = 3
TIME_FORMAT = %b %d %H:%M:%S
MAX_TIMESTAMP_LOOKAHEAD = 32
TRANSFORMS = syslog-host
REPORT-syslog = syslog-extractions
SHOULD_LINEMERGE = False

[source::/var/named/data/named.log]
sourcetype=named

what is the problem in drawng DNS graphs?

Tags (1)
0 Karma

ftk
Motivator

Have you defined any inputs and actually indexed any bind data yet? I see you put a [source::/var/log/named...] stanza in props.conf. Do you actually have a matching [monitor::] stanza in inputs.conf that is pulling the data in?

I recommend taking a look at the Getting Data In chapter of the docs, specifically the section on monitoring files and directories. These should get you started on getting the data into splunk so you can use the app on it.

sdsajjadi
New Member

I have inserted named.log path in props.conf file and splunk daemon is running. Should I do anything else?

0 Karma

MuS
Legend

Hi sdsajjadi

just one thought: is the user running the splunkd process, able to read the named log in your [named] stanza?

regards

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...