Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Page Size, last value feature and tracking column in http_poller #143

Open
ikishorkumar opened this issue May 11, 2024 · 0 comments
Open

Comments

@ikishorkumar
Copy link

We're currently facing an issue where one of our collectors is timing out due to the large volume of logs we're handling. We're using IBM Guardium for our client, and our logs are being generated at a rate of over 10,000 per minute.

We're fetching these logs into Elasticsearch using the Logstash http_poller input plugin. However, one of our collectors is giving us a request timeout error because of the large number of records generated per minute. The default request time for the API is 180 seconds, which is quite high. We've tried adjusting the number of requests per minute, but because of the sheer amount of data, we've also decreased the fetch size.

To address this, it would be beneficial if we could get the last value of a specific column, such as qid or timestamp, from the fetched data and store it as last_value. The http_poller plugin could then track this last_value in subsequent requests.

Similar to how jdbc_streaming tracks the last value to handle this, we could implement a mechanism to track the last value of a column in the fetched data. By doing so, we can ensure that we're retrieving only the new logs without missing any, thus resolving the timeout issue.

I've searched through the community forums, but it seems everyone is encountering the same problem. Unfortunately, no one has found a solution yet.

@ikishorkumar ikishorkumar changed the title Need Page Size and last value feature Need Page Size, last value feature and tracking column in http_poller May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant