Getting Data In

Dump files and filtering and sending to indexer

asarolkar
Builder

I have a .out DUMP file generated by Bamboo Logs -- that I want to monitor in Splunk.

I need to filter out certain content and then push over the rest to Standard Out via the universal forwarder onto the indexer.

What is the best way to go about this ?

A few options :

i) Convert the .out file to a .log file and filter out content using some process (not sure how) I could use a nullQueue setup on the indexer that will filter out whatever should not be indexed in splunk

ii) Point the configuration on the universal forwarder DIRECTLY to the .out file

[monitor://C:\Location]
disabled=1
followTail=0
sourcetype=dumpFile
whitelist= \.out$ | \.out[0-9]*$

I have been trying to get alternative (ii) to work -- but the dry run was largely unsuccesfull

iii) Somehow write the content of the .out file to sysout

Suggestions are appreciated : ) thanks !

0 Karma

kenth
Splunk Employee
Splunk Employee

Is the file a binary file? If not then you don't need to convert to .log. Just monitor the file and then you use props/transforms.conf to look for what you don't want sent to the indexer and forward that to the nullQueue.

transforms.conf
[dumpme]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

props.conf
[source::...myoutputfile.out]
TRANSFORMS-dumpme = dumpme

This will dump everything though so make sure your regex is intact. Also this can't be done on a UF it needs to be done when it data hits the indexer.

asarolkar
Builder

Its like catalina.out from tomcat

MINUS the timestamps, which presents a challenge in its own

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...