Dashboards & Visualizations

How to read application log file from remote server in Splunk dashboard

ronak
Path Finder

Setup

  • Splunk 6.2.1
  • Data processing server - Server1 (which is on same network as Splunk servers - indexers and search heads - but physically different server)
  • dashboard that shows the status of various data processes (or jobs) by reading the meta data tables from database instance that retains the state of various data processes (these data processes populate meta data tables in database as they progress from one step to other)
  • These data processes also generate log files (text files) on Server1

Need

On the job record in my dashboard, I also want to provide the functionality such that when NOC person looks at the job record and clicks on a field "see more details", can read the log file content (log file is sitting on Server1 in /data/jobs) in a new browser window

How do I achieve it?

thanks, ronak

0 Karma

muebel
SplunkTrust
SplunkTrust

You could possibly setup a scripted input running through the forwarder on Server1 that leverages some utility to read what you want out of the database, and return the results.

An alternative maybe is to implement Splunk DB Connect : https://apps.splunk.com/app/958/

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...