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.

Last event is not pushed to Splunk until new event occurs

See original GitHub issue

What happened: Last log event is not pushed to splunk What you expected to happen: Everything should be pushed to Splunk How to reproduce it (as minimally and precisely as possible): This is my filter in output.conf <filter tail.containers.var.log.containers.sb-*.log> @type concat key log timeout_label @SPLUNK stream_identity_key stream multiline_start_regexp /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}|^\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}|^\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}\s-\s-/ multiline_end_regexp /\\n$/ separator "" flush_interval 2s use_first_timestamp true </filter> Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):1.15.5
  • Ruby version (use ruby --version):
  • OS (e.g: cat /etc/os-release):NAME=“Red Hat Enterprise Linux Server” VERSION=“7.7 (Maipo)”
  • Splunk version:7.3.3
  • Others:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
rockb1017commented, May 21, 2020

one user have tried it with it https://github.com/splunk/splunk-connect-for-kubernetes/issues/243 but it didn’t change anything. but i think this concat fix you developed fixed the flow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Determine When a Host Stops Sending Logs ... - Splunk
Create a new field called “recent”. To determine what that field should be set to, perform a conditional check to see if the...
Read more >
Solved: Re: Help with creating an earliest/latest event ta...
What I am needing to do is get the pushID event time that occurs before the very first pullID time following, and calculate...
Read more >
Known issues - Splunk Documentation
Known issues. The following are issues and workarounds for this version of Splunk Enterprise. Issues are listed in all relevant sections.
Read more >
Create custom fields at index time - Splunk Documentation
REPEAT_MATCH starts wherever the last match stopped and continues until no more matches are found. Useful for situations where an unknown number of...
Read more >
Troubleshoot the Rules Engine and event grouping in ITSI
Search for itsi_event_grouping and make sure the status says Running. If it's not running, go to Settings > Searches, reports, and alerts and...
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