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

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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...