All Apps and Add-ons

Hadoop Monitoring: Where is hadoopmon_spark.sh?

baloney
New Member

On the Hadoop Monitoring add-on details, it describes the inputs.conf entires for Spark. However, i didn't find it in /bin directory. Anyone has any insight into this please? Thx!

0 Karma

rdagan_splunk
Splunk Employee
Splunk Employee

In the inputs.conf you can add spark monitoring, for example:

[script://./bin/hadoopmon_spark.sh]
disabled = 0
interval=60
sourcetype = hdfs_spark_metrics
index = spark_metricsdata

[monitor:///var/log/spark/history]
sourcetype = spark_historyserver
index = spark_metricsdata

[monitor:///var/log/spark/thriftserver]
sourcetype = spark_hivethrift
index = spark_metricsdata

And the in the hadoopmon_spark.sh you can add something like this

. dirname $0/hadoopmon_common.sh
hadoop fs -text /spark-history/*

0 Karma
Get Updates on the Splunk Community!

Introducing Ingest Actions: Filter, Mask, Route, Repeat

WATCH NOW Ingest Actions (IA) is the best new way to easily filter, mask and route your data in Splunk® ...

Splunk Forwarders and Forced Time Based Load Balancing

Splunk customers use universal forwarders to collect and send data to Splunk. A universal forwarder can send ...

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...