Getting Data In

How to move internal logs from Deployment Server _internal db to Index Server _internal db?

santiagoaloi
Path Finder

Hello,

I'm having a hard time finding a way forwarding all the internal logs from my Deployment server to the Index server.
My idea is to actually move from _internal > _internal instead of _internal > main index. This is basically to consolidate the license usage logs in just one server, since my deployment server is my license master.

This is how my inputs.conf file looks like:

[monitor://$SPLUNK_HOME/var/log/splunk]
_TCP_ROUTING=indexserver
[monitor://$SPLUNK_HOME/etc/splunk.version]
_TCP_ROUTING=indexserver

This is how my outputs.conf file looks like:

[tcpout]
forwardedindex.0.whitelist = _internal
forwardedindex.1.whitelist = _audit
forwardedindex.filter.disable = false
indexAndForward = false
defaultGroup = indexserver
[tcpout:indexserver]
server = 10.10.10.10:9997
compressed = true
autoLB = true
[tcpout-server://10.10.10.10:9997]
sslCertPath = $SPLUNK_HOME/etc/auth/server.pem
sslRootCAPath = $SPLUNK_HOME/etc/auth/cacert.pem
sslVerifyServerCert = false
sslPassword = password

Thanks for the help,

//Santiago Aloi Deheza

0 Karma
1 Solution

santiagoaloi
Path Finder

Just wanted to clarify that the inputs and outputs above are correct and that it works.

It takes one day till you can actually see the rollover summary.

index=_internal source=*license_usage.log type="RolloverSummary" earliest=-30d@d

| eval _time=_time - 43200
| bin _time span=1d
| stats latest(b) AS b by slave, pool, _time
| timechart span=1d sum(b) AS volume fixedrange=false
| foreach * [eval =round(''/1024/1024/1024, 3)]

View solution in original post

0 Karma

santiagoaloi
Path Finder

Just wanted to clarify that the inputs and outputs above are correct and that it works.

It takes one day till you can actually see the rollover summary.

index=_internal source=*license_usage.log type="RolloverSummary" earliest=-30d@d

| eval _time=_time - 43200
| bin _time span=1d
| stats latest(b) AS b by slave, pool, _time
| timechart span=1d sum(b) AS volume fixedrange=false
| foreach * [eval =round(''/1024/1024/1024, 3)]

0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...