We consider the classical Coulomb gas in two dimensions at the inverse temperature I^2=2, confined within a droplet of radius R by a rotationally invariant potential U(r). For U(r)imr2 this describes the eigenvalues of the complex Ginibre ensemble of random matrices. We study linear statistics of the form LN=umi=1Nf(∣xi∣), where xi's are the positions of the N particles, in the large N limit with R=O(1). It is known that for smooth functions f(r) the variance VarLN=O(1), while for an indicator function relevant for the disk counting statistics, all cumulants of LN of order q≥2 behave as imqrtN. In addition, for smooth functions, it was shown that the cumulants of LN of order q≥3 scale as imN2−q. Surprisingly it was found that they depend only on f′(∣x∣) and its derivatives evaluated exactly at the boundary of the droplet. To understand this property, and interpolate between the two behaviors (smooth versus step-like), we study the microscopic linear statistics given by f(r)→fN(r)=I¨((r−r^)qrtN/I^¾), which probes the fluctuations at the scale of the inter-particle distance. We compute the cumulants of LN at large N for a fixed I¨(u) at arbitrary I^¾. For large I^¾ they match the predictions for smooth functions which shows that the leading contribution in that case comes from a boundary layer of size 1/qrtN near the boundary of the droplet. Finally we show that the full probability distribution of LN take two distinct large deviation forms, in the regime LNimqrtN and LNimN respectively. We also discuss applications of our results to fermions in a rotating harmonic trap and to the Ginibre symplectic ensemble.