Last event is not pushed to Splunk until new event occurs
See original GitHub issueWhat 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:
- Created 3 years ago
- Comments:15 (6 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
https://github.com/splunk/splunk-connect-for-kubernetes/pull/369