question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Host Field is blank - logging and objects

See original GitHub issue

What happened: The host field in splunk is blank for all the logs. The Host field is set to SPLUNK_HEC_HOST environment variable and that variable doesnt exist and is not passed in both logging chart and objects chart.

host "#{ENV['SPLUNK_HEC_HOST']}"

Related to https://github.com/splunk/splunk-connect-for-kubernetes/issues/154

What you expected to happen: The ‘host’ for logs to be set to the Kubernetes node name.

How to reproduce it (as minimally and precisely as possible): Deploy splunk-connect and check for the host field in logs metadata on UI.

Environment:

  • Kubernetes version (use kubectl version): clientVersion: buildDate: “2019-03-26T00:05:06Z” compiler: gc gitCommit: 641856db18352033a0d96dbc99153fa3b27298e5 gitTreeState: clean gitVersion: v1.14.0 goVersion: go1.12.1 major: “1” minor: “14” platform: darwin/amd64 serverVersion: buildDate: “2019-03-25T06:30:48Z” compiler: gc gitCommit: 16236ce91790d4c75b79f6ce96841db1c843e7d2 gitTreeState: clean gitVersion: v1.11.9 goVersion: go1.10.8 major: “1” minor: “11” platform: linux/amd64

  • Ruby version (use ruby --version): ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin17]

  • OS (e.g: cat /etc/os-release): macOS High Sierra 10.13.6 (17G6030)

  • Splunk version: 7.2.6 Build: c0bf0f679ce9

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ryanfairclothcommented, Jul 29, 2019

This was partially fixed the manifest examples don’t reflect the same change

0reactions
rfrodrigues16commented, Sep 4, 2019

Got it. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

System logs are stored on non-persistent storage (2032823)
If the field Syslog.global.logDir is empty or points to a scratch partition, make sure that the field ScratchConfig.CurrentScratchLocation shows ...
Read more >
Logging in .NET Core and ASP.NET Core | Microsoft Learn
Learn how to use the logging framework provided by the Microsoft.Extensions.Logging NuGet package.
Read more >
Enabling Amazon S3 server access logging
Under Server access logging, select Enable. For Target bucket, enter the name of the bucket that you want to receive the log record...
Read more >
Adding custom DNS records - DreamHost Knowledge Base
You do not need to add the @ symbol when creating custom DNS records. This symbol is added automatically when the Name field...
Read more >
Manage resource records - Google Domains Help
The Host name field indicates the object a resource record refers to. For example, a record might be relevant for your entire website,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found