elasticsearch


logstash jmx input plugin returns just %{message}


I'm using the JMX input plugin in logstash to pull Kafka mbean but for some reason it just returns lines like this and I get the right line count for each mbean but not the values, just %{message}:
2017-02-10T22:40:20.836Z 0.0.0.0 %{message}
2017-02-10T22:40:20.837Z 0.0.0.0 %{message}
2017-02-10T22:40:20.838Z 0.0.0.0 %{message}
2017-02-10T22:40:20.841Z 0.0.0.0 %{message}
2017-02-10T22:40:20.843Z 0.0.0.0 %{message}
...
my logstash conf file looks like this:
input {
jmx {
path => "/home/usrxxx/logstash-5.2.0/bin/jmxconf"
polling_frequency => 5
nb_thread => 4
}
}
output {
stdout { }
}
and then my jmx json conf looks like this:
{
"host" : "0.0.0.0",
"port" : 9999,
"alias" : "kafkabroker1",
"queries" : [
{
"object_name" : "kafka.server:type=BrokerTopicMetrics,name=*"
} ]
}
I've also tried localhost and the actual hostname too for host...any idea on why it just returns %{message} and not the mbean values?

Related Links

how to restore elasticsearch.yml config file to original?
Index a graph with ElasticSearch
ElasticSearch query not returning expected results
Fluentd High Availability Custom Index
How do I add an attribute to an Elasticsearch node for the purpose of Shard Allocation Filtering?
Configure ElasticSearch attachment mapper to use OCR plugin
ElasticSearch: How to search for a value in any field, across all types, in one or more indices?
Phrase suggestor - which index and query to act upon
Adding additional fields to ElasticSearch terms aggregation
ElasticSearch multi_match if field exists apply filter otherwise dont worry about it?
ElasticSearch Date Histogram Interval
Kibana 4 index patterns time-field
elasticsearch: Did I lose data when two of my three nodes went down?
ElasticSearch automatic typing
how to copy ElasticSearch field to another field
ElasticSearch Order after 2 term aggregation

Categories

HOME
qt
hpoo
xpath
mc
keyboard
yii
paypal-ipn
plaid
consul
dronekit-python
tfs2015
elk-stack
google-search-console
static-analysis
eddystone
gtk
angular4
spring-jpa
squirrel-sql
complexity-theory
sonicwall
adobe-illustrator
spyder
hdl
coreldraw
generator
perfino
managed-c++
cellular-network
python-appium
points
macromedia
amazon-cloudtrail
fatfs
monitor
dotcms
rust-cargo
sca
mongoengine
winrm
directfb
polyml
android-alarms
best-buy-api
classnotfoundexception
cloudera-sentry
hypothesis-test
morphline
autorelease
cloudwatch
ssi
scala-breeze
knockout-2.0
amazon-elastic-beanstalk
entropy
sigsegv
patternlab.io
http-basic-authentication
network-protocols
degrees
oracle-fusion-apps
yargs
haraka
okio
wininet
gcloud-node
mathml
node.js-connect
jeasyui
preferenceactivity
largenumber
featuretoggle
apple
vdm-sl
modern.ie
android-handler
azure-xplat-cli
ssmtp
maven-shade-plugin
google-hangouts
uno
rubber
image-rotation
global-scope
windows-rt
osascript
lumia-imaging-sdk
screwturn
rails-api
thruway
miglayout
xmi
jms-serializer
illuminate-container
ldif
chartfx
ntlmv2
contextswitchdeadlock
user-forums
daap
struts2-json-plugin
telerik-ajax
differentiation
server-variables
representation
odac
external-sorting

Resources

Encrypt Message