Splunk Search

configure splunk with wildfly23 on windows10 jdk8

aron
Engager

After following the jboss setup tutorial https://docs.splunk.com/Documentation/AddOns/released/JBoss/Setup

I am able to search wildfly23 server jmx logs with index="main" sourcetype="jboss:jmx" 
but when I search for server log with index="main" sourcetype="jboss:server:log" it is not showing any result.

Below are the input.conf file

[jboss://dumpAllThreads]
disabled = 0
account = wildfly
duration = 10
index = main
sourcetype = jboss:jmx

[monitor://D:/Wildfly_9/wildfly-23.0.2.Final/standalone/log/server.log*]
disabled = false
followTail = false
index = main
sourcetype = jboss:server:log

[monitor://D:/Wildfly_9/wildfly-23.0.2.Final/standalone/log/*gc.log*]
disabled = false
followTail = false
index = main
sourcetype = jboss:gc:log

[monitor://D:/Wildfly_9/wildfly-23.0.2.Final/standalone/log/access.log*]
disabled = false
followTail = false
index = main
sourcetype = jboss:access:log

Labels (1)
Tags (1)
0 Karma
1 Solution

VatsalJagani
SplunkTrust
SplunkTrust

@aron - I'm glad this helped!!!

Kindly accept the answer by clicking on "Accept as Solution" so other users in the community can get help from this as well.

View solution in original post

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@aron - Windows paths need backward slash.

Like

[monitor://D:\Wildfly_9\wildfly-23.0.2.Final\standalone\log\server.log*]

 

I hope this helps!!

0 Karma

aron
Engager
It is working now, thank you for the input.  
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@aron - I'm glad this helped!!!

Kindly accept the answer by clicking on "Accept as Solution" so other users in the community can get help from this as well.

0 Karma
Get Updates on the Splunk Community!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...