Getting Data In

HF - How to fix HeavyForwarder slow to show in SH?

SplkJuanAntunes
Loves-to-Learn Lots

Hello Everybody! 

First thanks for your time to help me.

I have a cluster environment, with:

  • 3 - Sh's
    • 231
    • 232
    • 233
  • 4 - Hf's
    • 223 
      • This HF is an old server that was used in the environment when it was not yet clustered, this HF is the core, reciving all data [UF's,DB Connect,Scripts etc] we keep it because we have some Windows Server 2003 with UF's installed that need to report the data and for that we need an HF with an older version 
    • 238 ( This is the HF with problem  )
    • 239
    • 244
  • 3 - IDX
    • 234
    • 235
    • 236

Perfect, our cluster environment is new, so all HF's (238,239,244) is a blank installation, today I'm transferring all running Scripts on 223 to 238, but I'm with a problem, I have some scripts running to get data and transfer to 238 thorught HTTPEventCollector, these scripts are also running on 238.

The problem is:

  • I run the script, I don't get any error, I can see in the logs that the HTTPColector received the event, but when I do a search in the SH's I can't see the data, only after a time like 5-10 minutes after sending the data they appear in the SH, with the exact _time when the script was run.

This problem is only with 238. 
239 244 and 223 work very well.

I did a simple script to send data for all HF's in the same time:

 

Simple Script to TestSimple Script to Test

Executing the script:

SplkJuanAntunes_1-1687859090118.png

 

Events on SH (does not show event sent to 238)

Events on SHEvents on SH

Confirmation on 238 HF that received the data

Event HF.png

After 5-10 minutes:

SplkJuanAntunes_0-1687858651812.png

The test data sending to 238 is now showing, but with 5-10 miuntes later.

What possible solutions I have already tried:

  • Restart Splunk and the server
  • Create a new token
  • Executing the script on other server like 239 244 223
  • Look for some log in the indexers or HF

I'm really starting to run out of ideas for how to solve this problem, does anyone have any ideas?

Thanks in advance!

 

 

 

0 Karma

dural_yyz
Communicator

First table out with _time and _indextime and convert to human readable.  We can narrow down if the indexer receives but slow to show or the HF is delayed in relaying the event.  Compare your active btool outputs.conf as well for any anomalies.

 

0 Karma

SplkJuanAntunes
Loves-to-Learn Lots

Hi @dural_yyz thanks for your time!

_time is basically the same time as indextime in all HF's

SplkJuanAntunes_0-1687882953528.png

 

Using btool in outputs to compare:

238:

SplkJuanAntunes_2-1687883224711.png

239 using in example:

SplkJuanAntunes_3-1687883288033.png

All outputs is the same.

Once again thank you very much for your time!

 

 

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...