Logit.io
Solutions

PHP Log Analysis

See how Logit.io's PHP analysis tool can provide your software engineers and security experts with valuable insights from your log and metrics data.

log management
FilebeatLogstashFluentdSyslogWinlogbeat
Ship
Parse
Index
Search
Alert
Live log stream
--:--:-- INFO request.completed duration_ms=42 route="/api/v1/orders"
--:--:-- WARN latency.spike service=checkout p95=820ms threshold=500ms
--:--:-- INFO trace.exported spans=128 backend=jaeger status="ok"
--:--:-- INFO metric.scrape target=prometheus job=k8s-pods samples=8421
--:--:-- INFO log.shipped bytes=184032 index=logs-prod
--:--:-- WARN auth.failure ip=203.0.113.42 attempts=3 action=rate_limit
--:--:-- INFO alert.routed severity=high channel="#incidents" dedupe=on
--:--:-- INFO dashboard.refresh uid=ops-overview panels=14 cache=hit
--:--:-- ERROR disk.pressure node=worker-3 usage=92% reclaim=started
--:--:-- INFO pipeline.batch size=2048 lag_ms=18 status=healthy
--:--:-- WARN queue.backpressure topic=ingest depth=1200
--:--:-- INFO otel.export endpoint=collector.svc spans_ok=512
--:--:-- INFO search.query hits=1284 took_ms=37 index=logs-*
--:--:-- INFO retention.policy applied hot=14d warm=30d
--:--:-- WARN tls.cert.expiring host=ingest.logit.io days=12
--:--:-- INFO ha.failover check region=eu-west status=ready
--:--:-- INFO request.completed duration_ms=42 route="/api/v1/orders"
--:--:-- WARN latency.spike service=checkout p95=820ms threshold=500ms
--:--:-- INFO trace.exported spans=128 backend=jaeger status="ok"
--:--:-- INFO metric.scrape target=prometheus job=k8s-pods samples=8421
--:--:-- INFO log.shipped bytes=184032 index=logs-prod
--:--:-- WARN auth.failure ip=203.0.113.42 attempts=3 action=rate_limit
--:--:-- INFO alert.routed severity=high channel="#incidents" dedupe=on
--:--:-- INFO dashboard.refresh uid=ops-overview panels=14 cache=hit
--:--:-- ERROR disk.pressure node=worker-3 usage=92% reclaim=started
--:--:-- INFO pipeline.batch size=2048 lag_ms=18 status=healthy
--:--:-- WARN queue.backpressure topic=ingest depth=1200
--:--:-- INFO otel.export endpoint=collector.svc spans_ok=512
--:--:-- INFO search.query hits=1284 took_ms=37 index=logs-*
--:--:-- INFO retention.policy applied hot=14d warm=30d
--:--:-- WARN tls.cert.expiring host=ingest.logit.io days=12
--:--:-- INFO ha.failover check region=eu-west status=ready
+ 12.4k events/s ingested
! 3 severity alerts fired
+ OpenSearch query 37ms

Trusted by engineering teams worldwide

Maersk
Murphy
Ringier
GDS
Guesty
HackerRank
Equal Experts
DevEx
Digitale Medier
xneelo
CAA
Pivotal
Robomed Network
Neoway
Gomo Learning
Department for BEIS
IBM
Broad Institute
The Honest Company
Traels
De Banke
Dofinity
BioCatch
Kainos
Youredi
Flux Music
Goji
Ving
HypSports
Boston Logic
Double Jump

Taking the time to determine the best log analysis tool for tracking various applications, servers, and systems can be incredibly beneficial.

One log type to keep in mind are PHP logs. Not only do PHP logs contain detailed insights suitable for creating error reports, but they can also contain insights on the performance of APIs including calls, occurrences, logins, signups, uploads, and downloads.

Just because you're system is able to collect PHP log files doesn't mean your current observability tool is able to analyse the data reliably and accurately.

Most free log analysis tools are based on open-source software. And while those can be of use, they tend to fall short when deployed at scale or when they are used to manage unconventional log files formats.

At Logit.io we understand the advantages that effective PHP log management can bring to an organisation. By using our log analyser, you'll be able to strategically track critical changes and events in your apps and servers.

Centralised Cloud-Based PHP Log Analysis

Powerful log analysis tools are essential to understanding the contents of log files. However, without centralised management of logs, you could easily miss out on critical information that gets lost across distributed services.

With Logit.io, you'll be able to gather all your PHP log files into a single, cloud-based platform. Not only does this allow for analysis with data that's up-to-date, but centralised logging can also be used to enforce data access policies and CMMC audit log compliance.

Having all PHP log files in a single location allows you to make the most of our advanced filtering and search capabilities to go through the logs simultaneously and find the data you need for analysis, troubleshooting, and root-cause analysis.

The Logit.io log analysis tool can support the management and analysis of various types of log files and is built on a foundation of the best open-source log analysis software, including the ELK Stack, Grafana® & OpenSearch for Elasticsearch and OpenSearch.

FilebeatLogstashFluentdSyslogWinlogbeat
Ship
Parse
Index
Search
Alert
Live log stream
--:--:-- INFO request.completed duration_ms=42 route="/api/v1/orders"
--:--:-- WARN latency.spike service=checkout p95=820ms threshold=500ms
--:--:-- INFO trace.exported spans=128 backend=jaeger status="ok"
--:--:-- INFO metric.scrape target=prometheus job=k8s-pods samples=8421
--:--:-- INFO log.shipped bytes=184032 index=logs-prod
--:--:-- WARN auth.failure ip=203.0.113.42 attempts=3 action=rate_limit
--:--:-- INFO alert.routed severity=high channel="#incidents" dedupe=on
--:--:-- INFO dashboard.refresh uid=ops-overview panels=14 cache=hit
--:--:-- ERROR disk.pressure node=worker-3 usage=92% reclaim=started
--:--:-- INFO pipeline.batch size=2048 lag_ms=18 status=healthy
--:--:-- WARN queue.backpressure topic=ingest depth=1200
--:--:-- INFO otel.export endpoint=collector.svc spans_ok=512
--:--:-- INFO search.query hits=1284 took_ms=37 index=logs-*
--:--:-- INFO retention.policy applied hot=14d warm=30d
--:--:-- WARN tls.cert.expiring host=ingest.logit.io days=12
--:--:-- INFO ha.failover check region=eu-west status=ready
--:--:-- INFO request.completed duration_ms=42 route="/api/v1/orders"
--:--:-- WARN latency.spike service=checkout p95=820ms threshold=500ms
--:--:-- INFO trace.exported spans=128 backend=jaeger status="ok"
--:--:-- INFO metric.scrape target=prometheus job=k8s-pods samples=8421
--:--:-- INFO log.shipped bytes=184032 index=logs-prod
--:--:-- WARN auth.failure ip=203.0.113.42 attempts=3 action=rate_limit
--:--:-- INFO alert.routed severity=high channel="#incidents" dedupe=on
--:--:-- INFO dashboard.refresh uid=ops-overview panels=14 cache=hit
--:--:-- ERROR disk.pressure node=worker-3 usage=92% reclaim=started
--:--:-- INFO pipeline.batch size=2048 lag_ms=18 status=healthy
--:--:-- WARN queue.backpressure topic=ingest depth=1200
--:--:-- INFO otel.export endpoint=collector.svc spans_ok=512
--:--:-- INFO search.query hits=1284 took_ms=37 index=logs-*
--:--:-- INFO retention.policy applied hot=14d warm=30d
--:--:-- WARN tls.cert.expiring host=ingest.logit.io days=12
--:--:-- INFO ha.failover check region=eu-west status=ready
+ 12.4k events/s ingested
! 3 severity alerts fired
+ OpenSearch query 37ms

Real-Time Log Monitoring and Analysis

At Logit.io, we believe in using a single platform that makes the process of live log analysis and monitoring as easy as possible. Our platform allows you to go through any volume of PHP log files using simple search syntax and advanced filtering capabilities.

Keep an eye on key log events as they stream in without getting distracted by the background noise caused by lower priority events. Additionally, we provide both customisable and pre-configured real-time notifications and alerts that guarantee complete visibility into your applications and environments.

We also support full integration with various third-party messaging channels for alerts and notifications such as Slack, Pagerduty, Opsgenie, ServiceNow, and VictorOps.

Analyzing PHP log files manually can be a burden to your engineers, improve their ability to resolve errors by using a fully integrated platform for alerting and monitoring, such as the one provided by Logit.io.

shell
$
logit metrics scrape --target=k8s --interval=30s
→ Prometheus · Grafana dashboards synced

Troubleshoot PHP Log Files

Troubleshooting is essential for continuously improving your applications' performance and security. Still, attempting to detect issues and trace them back to the source can be near impossible or highly time-consuming to achieve without the right tools.

With Logit.io you can save common search queries and also have the option to create scheduled reports to repeat automatically. You can also integrate our log analysis platform into your communications channel of choice and receive regular updates regarding alerts on which parts of your infrastructure are triggering an error.

FilebeatLogstashFluentdSyslogWinlogbeat
Ship
Parse
Index
Search
Alert
Live log stream
--:--:-- INFO request.completed duration_ms=42 route="/api/v1/orders"
--:--:-- WARN latency.spike service=checkout p95=820ms threshold=500ms
--:--:-- INFO trace.exported spans=128 backend=jaeger status="ok"
--:--:-- INFO metric.scrape target=prometheus job=k8s-pods samples=8421
--:--:-- INFO log.shipped bytes=184032 index=logs-prod
--:--:-- WARN auth.failure ip=203.0.113.42 attempts=3 action=rate_limit
--:--:-- INFO alert.routed severity=high channel="#incidents" dedupe=on
--:--:-- INFO dashboard.refresh uid=ops-overview panels=14 cache=hit
--:--:-- ERROR disk.pressure node=worker-3 usage=92% reclaim=started
--:--:-- INFO pipeline.batch size=2048 lag_ms=18 status=healthy
--:--:-- WARN queue.backpressure topic=ingest depth=1200
--:--:-- INFO otel.export endpoint=collector.svc spans_ok=512
--:--:-- INFO search.query hits=1284 took_ms=37 index=logs-*
--:--:-- INFO retention.policy applied hot=14d warm=30d
--:--:-- WARN tls.cert.expiring host=ingest.logit.io days=12
--:--:-- INFO ha.failover check region=eu-west status=ready
--:--:-- INFO request.completed duration_ms=42 route="/api/v1/orders"
--:--:-- WARN latency.spike service=checkout p95=820ms threshold=500ms
--:--:-- INFO trace.exported spans=128 backend=jaeger status="ok"
--:--:-- INFO metric.scrape target=prometheus job=k8s-pods samples=8421
--:--:-- INFO log.shipped bytes=184032 index=logs-prod
--:--:-- WARN auth.failure ip=203.0.113.42 attempts=3 action=rate_limit
--:--:-- INFO alert.routed severity=high channel="#incidents" dedupe=on
--:--:-- INFO dashboard.refresh uid=ops-overview panels=14 cache=hit
--:--:-- ERROR disk.pressure node=worker-3 usage=92% reclaim=started
--:--:-- INFO pipeline.batch size=2048 lag_ms=18 status=healthy
--:--:-- WARN queue.backpressure topic=ingest depth=1200
--:--:-- INFO otel.export endpoint=collector.svc spans_ok=512
--:--:-- INFO search.query hits=1284 took_ms=37 index=logs-*
--:--:-- INFO retention.policy applied hot=14d warm=30d
--:--:-- WARN tls.cert.expiring host=ingest.logit.io days=12
--:--:-- INFO ha.failover check region=eu-west status=ready
+ 12.4k events/s ingested
! 3 severity alerts fired
+ OpenSearch query 37ms

Data Visualisation and Customisable Dashboards

Log data analysis isn't complete without a comprehensible data visualisation user interface (UI) that offers a clearer image of what's going on.

PHP log files are rich in the data they carry but are still fairly complex. Information can be hard to digest without using hosted Logstash to parse through unstructured log data and flexible hosted Kibana which provides charts, graphs, plots, and maps.

Furthermore, data visualisation can be accessed through a fully-customisable dashboard that provides shareable charts that can be used for simple presentations through to informing key decision making.

alerts
1
Detect
2
Enrich
3
Route
4
Notify
! anomaly detected · checkout p95 > 500ms
→ context attached · service map · recent deploy
→ routed to #incidents · ack in 12s

Regulate Compliance With Reliable Log Analysis

PHP logs that keep track of error messages generated by login and signup attempts can be excellent predictors of attempted security breaches. The proper analysis allows you to detect early signs of a threat and intercept them before they result in any damage.

With this in mind, log analysis can help you provide proof of your application's security by demonstrating compliance with third-party certifications.

By using Logit.io log analysis, you can rest assured that all data transfers are protected by Transport Layer Security (TLS). Additionally, our platform is ISO/IEC 27001:2022 certified and GDPR, HIPAA, and SOC2 compliant.

With internal role based control options, you'll be able to enforce the appropriate access and security measures to prevent unauthorized team members from accessing or manipulating data in order to meet your own set of internal security and privacy standards.

FilebeatLogstashFluentdSyslogWinlogbeat
Ship
Parse
Index
Search
Alert
Live log stream
--:--:-- INFO request.completed duration_ms=42 route="/api/v1/orders"
--:--:-- WARN latency.spike service=checkout p95=820ms threshold=500ms
--:--:-- INFO trace.exported spans=128 backend=jaeger status="ok"
--:--:-- INFO metric.scrape target=prometheus job=k8s-pods samples=8421
--:--:-- INFO log.shipped bytes=184032 index=logs-prod
--:--:-- WARN auth.failure ip=203.0.113.42 attempts=3 action=rate_limit
--:--:-- INFO alert.routed severity=high channel="#incidents" dedupe=on
--:--:-- INFO dashboard.refresh uid=ops-overview panels=14 cache=hit
--:--:-- ERROR disk.pressure node=worker-3 usage=92% reclaim=started
--:--:-- INFO pipeline.batch size=2048 lag_ms=18 status=healthy
--:--:-- WARN queue.backpressure topic=ingest depth=1200
--:--:-- INFO otel.export endpoint=collector.svc spans_ok=512
--:--:-- INFO search.query hits=1284 took_ms=37 index=logs-*
--:--:-- INFO retention.policy applied hot=14d warm=30d
--:--:-- WARN tls.cert.expiring host=ingest.logit.io days=12
--:--:-- INFO ha.failover check region=eu-west status=ready
--:--:-- INFO request.completed duration_ms=42 route="/api/v1/orders"
--:--:-- WARN latency.spike service=checkout p95=820ms threshold=500ms
--:--:-- INFO trace.exported spans=128 backend=jaeger status="ok"
--:--:-- INFO metric.scrape target=prometheus job=k8s-pods samples=8421
--:--:-- INFO log.shipped bytes=184032 index=logs-prod
--:--:-- WARN auth.failure ip=203.0.113.42 attempts=3 action=rate_limit
--:--:-- INFO alert.routed severity=high channel="#incidents" dedupe=on
--:--:-- INFO dashboard.refresh uid=ops-overview panels=14 cache=hit
--:--:-- ERROR disk.pressure node=worker-3 usage=92% reclaim=started
--:--:-- INFO pipeline.batch size=2048 lag_ms=18 status=healthy
--:--:-- WARN queue.backpressure topic=ingest depth=1200
--:--:-- INFO otel.export endpoint=collector.svc spans_ok=512
--:--:-- INFO search.query hits=1284 took_ms=37 index=logs-*
--:--:-- INFO retention.policy applied hot=14d warm=30d
--:--:-- WARN tls.cert.expiring host=ingest.logit.io days=12
--:--:-- INFO ha.failover check region=eu-west status=ready
+ 12.4k events/s ingested
! 3 severity alerts fired
+ OpenSearch query 37ms

Companies Feel The Difference When They Use Logit.io

Internally, Logit.io has made it easier for us to provide better support for our customers, since finding individual messages based on various data in the payload has become easier.

At Youredi, pretty much everyone from our technical support teams through to our professional services teams uses Logit.io.

Youredi

Mats von Weissenberg

CTO @ Youredi

Start your 14-day free trial

No credit card required. Managed OpenSearch, Prometheus, and Grafana from $25/mo.