Hi All,
I am new to log insights. We recently configured log insight and fed some logs to it and it seems like it is reading the same log line again and again. So we tested with API. I fired just one instance and it made more than 800 entries in 5 mins. Any pointers to check what setting might be wrong?
Attaching screenshot.
Thanks and Regards,
Ninad Patil
How are you doing this? If it's from a source file, are you certain it isn't logged that many times?
Hi,
Thanks for the response.
The screenshot that I have attached if from an API call. I called the log insight ingesting event only once and it made 800 + entries.
Hi, can you share the API call you made? I can validate on my end.
Here you go:
URL and Auth details as per your environment.
My URL: https://{host:port} /api/v1/events/ingest/0
Method: Post
Data:
{
"events": [{
"fields": [
{"name": "Environment", "content": "EnvC"},
{"name": "PositionalField", "startPosition": 6, "length": 7}
],
"text": "Ninad's API Entry",
"timestamp": 1396622879241
}]
}
And were you using a specific REST client to send that POST?
Yes, we use a tool called as webMethods. But we tested through Postman as well. Same result.
We also created one log file with just one line in it and it was also replicated thousands of time.
