Splunk Enterprise

Is it possible or advised to add a custom log to the _internal index?

nnesje
Loves-to-Learn Lots

Is it possible, or advised, to add a custom log to the Splunk _internal index?  What are the formatting rules if a log is added to the default location?

 

Labels (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Log files have no formatting rules.  You just need to define a sourcetype that can parse them.

---
If this reply helps you, Karma would be appreciated.
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

you could add those if needed, but you should think what logs are system logs and what are applications logs. Only 1st one should add to internal. A good examples are e.g. some complex TA logs like DB Connect, M365 etc. 

Shortly just write your logs into …./splunk/var/log/splunk directory and splunk automatically add those to _internal. You could check format from any logs already in that directory.

r. Ismo

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...