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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...